Skip to content

v3.2.0

Latest

Choose a tag to compare

@itsmeadi itsmeadi released this 10 Apr 15:00
7c4c123

What's Changed

  • Allow custom HTTP transport and client configuration in #235

Users can now pass a custom transport (for connection pool limits, retries, HTTP/2) or a pre-built http_client to Stream / AsyncStream:

import httpx
from getstream import Stream

transport = httpx.HTTPTransport(
    limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
    retries=3,
)
client = Stream(api_key="...", api_secret="...", transport=transport)

When custom config is provided, all sub-clients (video, chat, moderation, feeds) share a single HTTP client for efficient connection pooling.

Full Changelog: v3.1.2...v3.2.0