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
|
@ -55,6 +55,7 @@ describe "Context" do
|
|||
before_get_context_test: env.get("before_get_context_test"),
|
||||
}
|
||||
end
|
||||
|
||||
request = HTTP::Request.new("GET", "/")
|
||||
io = IO::Memory.new
|
||||
response = HTTP::Server::Response.new(io)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue