Skip to main content

Module http_client

Module http_client 

Source
Expand description

HTTP client utilities

Consolidated re-exports from vtcode-commons and LLM-specific factories.

Re-exports§

pub use crate::llm::http_client::HttpClientFactory;

Constants§

DEFAULT_TIMEOUT
LONG_TIMEOUT
SHORT_TIMEOUT

Functions§

create_client_with_timeout
Create an HTTP client with a custom timeout
create_client_with_timeouts
Create an HTTP client with custom connect and request timeouts
create_client_with_user_agent
Create an HTTP client with a specific user agent
create_default_client
Create a default HTTP client with standard timeouts
create_streaming_client
Create an HTTP client optimized for streaming
get_or_create_default_client
Get a default client or create one