You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTP::WebSocket doesn't support query strings or headers. I need it to do so for a project that I'd like to use Crystal for, so I'd like to take a crack at making it work. For query strings, the solution in #3234 should work. For headers, I'm envisioning adding a headers parameter to HTTP::WebSocket.new(), like:
HTTP::WebSocket
doesn't support query strings or headers. I need it to do so for a project that I'd like to use Crystal for, so I'd like to take a crack at making it work. For query strings, the solution in #3234 should work. For headers, I'm envisioning adding aheaders
parameter toHTTP::WebSocket.new()
, like:and
Then I will handle the parameter in the constructors for
HTTP::WebSocket::Protocol
. What do y'all think?The text was updated successfully, but these errors were encountered: