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
This library is using JS API directly, so it's hard to provide http.Hijacker interface for Conn.
But WebSocket support can be implemented using Durable Object, so I want to try another approach (without providing http.Hijacker).
Thank you for submitting this issue!
This library is using JS API directly, so it's hard to provide http.Hijacker interface for Conn.
But WebSocket support can be implemented using Durable Object, so I want to try another approach (without providing http.Hijacker).
Thank you for submitting this issue!
Hi @syumai! Have you made any progress with this approach? Been trying to make it work with websocket and Durable Objects but no luck so far.
Thanks!
Using package
github.com/gorilla/websocket
to server websocket connection.When call
upgrader.Upgrade(w, r, nil)
, it return an error:It seems that the response need to implement http.Hijacker interface.
The text was updated successfully, but these errors were encountered: