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
{{ message }}
Repository navigation
HTTP client: Support HTTP upgrades (WebSockets) #376
This library should provide support for HTTP upgrades (WebSocket etc.) using the Connection: upgrade and Upgrade: websocket headers.
This is already supported on the server-side (see #190), so adding support for this on the client-side should be reasonable. This will likely require a dedicated API as the existing streaming APIs only expose a ReadableStreamInterface and the upgraded stream would have to be a DuplexStreamInterface.
We welcome contributions, reach out if you want to support this project 👍
The good news is that I was able to have a working implementation of this during the weekend 😀. I'm currently testing and hope to get a PR in by tomorrow.
@clue Are there any plans to add this feature?
I'd love to add the ability to forward websocket connections to Expose, but those requests currently get closed immediately
Activity
bosunski commentedon Jul 27, 2020
The good news is that I was able to have a working implementation of this during the weekend 😀. I'm currently testing and hope to get a PR in by tomorrow.
mpociot commentedon Jul 21, 2024
@clue Are there any plans to add this feature?
I'd love to add the ability to forward websocket connections to Expose, but those requests currently get closed immediately