Rename HTTP::WebSocketHandler::WebSocket to HTTP::WebSocket

This commit is contained in:
Sdogruyol 2016-01-25 20:56:27 +02:00
parent d6790c1a04
commit 3b4cdd5323
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ HTTP_METHODS = %w(get post put patch delete)
end
{% end %}
def ws(path, &block : HTTP::WebSocketHandler::WebSocket -> _)
def ws(path, &block : HTTP::WebSocket -> _)
Kemal::WebSocketHandler.new path, &block
end