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