Update dsl.cr

This commit is contained in:
Serdar Dogruyol 2016-03-23 14:45:18 +02:00
parent be418feaf3
commit 7b1bc43a41
1 changed files with 1 additions and 1 deletions

View File

@ -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