Skip to main content

create_origin_bound_streaming_client

Function create_origin_bound_streaming_client 

Source
pub fn create_origin_bound_streaming_client() -> Client
Expand description

Create an origin-bound streaming HTTP client.

Same credential-replay rationale as create_origin_bound_client_with_timeouts: streaming LLM responses carry API-key headers on the initiating request, so cross-origin redirects stop instead of replaying them. No whole-request timeout by design (see create_streaming_client); the connect phase stays bounded.