Bump version to 0.21.0
This commit is contained in:
parent
9316ed8810
commit
731b2e0d5b
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
name: kemal
|
||||
version: 0.20.0
|
||||
version: 0.21.0
|
||||
|
||||
dependencies:
|
||||
radix:
|
||||
|
|
|
@ -14,7 +14,7 @@ FILTER_METHODS = %w(get post put patch delete options all)
|
|||
end
|
||||
{% end %}
|
||||
|
||||
def ws(path : String, &block : HTTP::WebSocket, HTTP::Server::Context -> _)
|
||||
def ws(path : String, &block : HTTP::WebSocket, HTTP::Server::Context -> Void)
|
||||
raise Kemal::Exceptions::InvalidPathStartException.new("ws", path) unless Kemal::Utils.path_starts_with_slash?(path)
|
||||
Kemal::WebSocketHandler.new path, &block
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue