mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Rename HTTP::WebSocketHandler::WebSocket to HTTP::WebSocket
This commit is contained in:
parent
d6790c1a04
commit
3b4cdd5323
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ HTTP_METHODS = %w(get post put patch delete)
|
||||||
end
|
end
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
def ws(path, &block : HTTP::WebSocketHandler::WebSocket -> _)
|
def ws(path, &block : HTTP::WebSocket -> _)
|
||||||
Kemal::WebSocketHandler.new path, &block
|
Kemal::WebSocketHandler.new path, &block
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue