-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP client: Support HTTP upgrades (WebSockets) #376
Labels
Comments
This was referenced Jul 12, 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. |
This was referenced Jan 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This library should provide support for HTTP upgrades (WebSocket etc.) using the
Connection: upgrade
andUpgrade: 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 aDuplexStreamInterface
.We welcome contributions, reach out if you want to support this project 👍
The text was updated successfully, but these errors were encountered: