WebSockets support for HTTPX
Documentation: https://frankie567.github.io/httpx-ws/
Source Code: https://github.com/frankie567/httpx-ws
Warning
This is a very young project. Expect bugs 🐛
pip install httpx-ws
- 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
Thanks goes to these wonderful people (emoji key):
François Voron 🚧 💻 |
Kousik Mitra 💻 |
David Brochart 📦 |
ysmu 🐛 |
Sam Foreman 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!
We use Hatch to manage the development environment and production build. Ensure it's installed on your system.
You can run all the tests with:
hatch run test
Execute the following command to apply linting and check typing:
hatch run lint
This project is licensed under the terms of the MIT license.