WebSockets support for HTTPX
Maintained. Last release 2 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install httpx-wsHTTPX WS
WebSockets support for HTTPX
Documentation: https://frankie567.github.io/httpx-ws/
Source Code: https://github.com/frankie567/httpx-ws
Installation
pip install httpx-ws
Features
- Sync and async client
- Helper methods to send text, binary and JSON data
- Helper methods to receive text, binary and JSON data
- Automatic ping/pong answers
- HTTPX transport to test WebSockets defined in ASGI apps
- Automatic keepalive ping
-
asyncioand Trio support through AnyIO
Contributors ✨
Thanks goes to these wonderful people ():