From 7b1bc43a412bc0e2396ac3ff15b60f4686ee678d Mon Sep 17 00:00:00 2001 From: Serdar Dogruyol Date: Wed, 23 Mar 2016 14:45:18 +0200 Subject: [PATCH] Update dsl.cr --- src/kemal/dsl.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kemal/dsl.cr b/src/kemal/dsl.cr index 8b42b6a..6b5d589 100644 --- a/src/kemal/dsl.cr +++ b/src/kemal/dsl.cr @@ -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