Skip to content
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

adding aiosonic for websockets #2655

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sonic182
Copy link

@sonic182 sonic182 commented Feb 17, 2025

What is this Python project?

aiosonic is a super‑fast, lightweight asyncio HTTP client with built‑in WebSocket support. It features:

  • Smart connection pooling & keepalive
  • Multipart/chunked data handling
  • Timeout controls & automatic decompression
  • Experimental HTTP/2 support
  • WebSocket support: Text, binary, and JSON messages, with automatic ping/pong keep‑alive and back pressure (internal queues + dedicated socket reading task).

What's the difference between this Python project and similar ones?

  • Async-first design: Fully non‑blocking with efficient concurrency.
  • Advanced WebSocket support: Built-in protocol handler, robust message queuing, and automatic keep‑alive.
  • Modern & lightweight: Fully type‑annotated, designed for Python 3.8+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant