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

View file

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