# httpx-ws **Repository Path**: mirrors_agronholm/httpx-ws ## Basic Information - **Project Name**: httpx-ws - **Description**: WebSocket support for HTTPX - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-16 - **Last Updated**: 2026-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HTTPX WS

WebSockets support for HTTPX

[![build](https://github.com/frankie567/httpx-ws/workflows/Build/badge.svg)](https://github.com/frankie567/httpx-ws/actions) [![codecov](https://codecov.io/gh/frankie567/httpx-ws/branch/main/graph/badge.svg?token=fL49kIvrj6)](https://codecov.io/gh/frankie567/httpx-ws) [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) [![PyPI version](https://badge.fury.io/py/httpx-ws.svg)](https://badge.fury.io/py/httpx-ws) [![Downloads](https://pepy.tech/badge/httpx-ws)](https://pepy.tech/project/httpx-ws)

Subscribe

--- **Documentation**: https://frankie567.github.io/httpx-ws/ **Source Code**: https://github.com/frankie567/httpx-ws --- ## Installation ```bash pip install httpx-ws ``` ## Features * [X] Sync and async client * [X] Helper methods to send text, binary and JSON data * [X] Helper methods to receive text, binary and JSON data * [X] Automatic ping/pong answers * [X] HTTPX transport to test WebSockets defined in ASGI apps * [X] Automatic keepalive ping * [X] `asyncio` and [Trio](https://trio.readthedocs.io/) support through [AnyIO](https://anyio.readthedocs.io/) ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
FranΓ§ois Voron
FranΓ§ois Voron

🚧 πŸ’»
Kousik Mitra
Kousik Mitra

πŸ’»
David Brochart
David Brochart

πŸ“¦
ysmu
ysmu

πŸ›
Sam Foreman
Sam Foreman

πŸ›
Marc-Antoine Parent
Marc-Antoine Parent

πŸ› πŸ’»
Marcelo Trylesinski
Marcelo Trylesinski

πŸ› πŸ”¬
MtkN1
MtkN1

πŸ› πŸ”¬
Tom Christie
Tom Christie

πŸ› πŸ”¬
David Montague
David Montague

πŸ›
Sean Wang
Sean Wang

πŸ’»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! ## Development ### Setup environment We use [Hatch](https://hatch.pypa.io/latest/install/) to manage the development environment and production build. Ensure it's installed on your system. ### Run unit tests You can run all the tests with: ```bash hatch run test ``` ### Format the code Execute the following command to apply linting and check typing: ```bash hatch run lint ``` ## License This project is licensed under the terms of the MIT license.