mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add context to WebSocket. This allows one to use context.params like url,query, body e.g
This commit is contained in:
parent
5a83522866
commit
2b604dfb30
9 changed files with 71 additions and 41 deletions
|
@ -81,5 +81,6 @@ end
|
|||
|
||||
Spec.after_each do
|
||||
Kemal.config.clear
|
||||
Kemal::RouteHandler::INSTANCE.tree = Radix::Tree(Route).new
|
||||
Kemal::RouteHandler::INSTANCE.http_routes = Radix::Tree(Route).new
|
||||
Kemal::RouteHandler::INSTANCE.ws_routes = Radix::Tree(String).new
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue