Skip to content

Commit

Permalink
Update dsl.cr
Browse files Browse the repository at this point in the history
  • Loading branch information
sdogruyol committed Mar 23, 2016
1 parent be418fe commit 7b1bc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kemal/dsl.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7b1bc43

Please sign in to comment.