Skip to main content

Module streaming

Module streaming 

Source
Expand description

HTTP streaming client for Server-Sent Events (SSE) processing.

This module handles the HTTP layer for streaming responses from the Anthropic API, parsing SSE events and converting them into MessageStreamEvent objects.

Structsยง

HttpStreamClient
HTTP streaming client for processing Server-Sent Events.
StreamConfig
Configuration for SSE streaming requests.
StreamRequestBuilder
Builder for creating HTTP streaming requests.