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
I'm taking a look at h11's example trio-server.py. I think what you're asking for here is a documented example of the following:
A web server (like h11's trio-server.py) receives a new connection.
It processes the WebSocket HTTP upgrade request.
It wraps the resulting stream in a WebSocketConnection.
Is this right?
It's not clear to me if wsproto supports this: it looks like it always wants to do the HTTP upgrade request. To make this work, I think we would need a way for wsproto to skip the upgrade request and obtain that metadata (like host header) from somewhere else. Thoughts?
Would be great to have an example of upgrading a connection from http, based on the trio-server example in h11.
The text was updated successfully, but these errors were encountered: