Structs§
- Encoded
Json Body - A JSON request body serialized once into reference-counted bytes.
- Http
Client - Reusable HTTP client wrapper with shared tracing and request-diagnostic behavior.
- Http
Client Builder - Configures an
HttpClientwithout exposing the underlying HTTP implementation. - Http
Client Factory - Builds route-specific HTTP clients using one resolved outbound proxy policy.
- Prepared
Request Body - Request
- Request
Builder - Reqwest
Transport - Response
- Route
Aware Client Pool - Reuses transport clients by resolved route while selecting a route for every request URL.
- Route
Aware Request Builder - Stream
Response
Enums§
- Build
Custom CaTransport Error - Describes why a transport using shared custom CA support could not be constructed.
- Build
Route Aware Http Client Error - Error while building a resolver-aware reqwest client.
- Client
Route Class - Coarse semantic bucket for the HTTP or WebSocket client being constructed.
- Outbound
Proxy Policy - Resolved outbound proxy behavior for HTTP clients.
- Outbound
Proxy Route - Resolved proxy route for a concrete outbound destination.
- Request
Body - Request
Compression - Route
Aware Client Pool Error - Error returned when selecting a route or constructing its pooled HTTP client.
- Route
Aware Request Error - Error returned while building, routing, or sending a route-aware request.
- Route
Failure Class - Coarse failure class for route selection errors.
- Stream
Error - Transport
Error
Traits§
Functions§
- build_
reqwest_ client_ with_ custom_ ca - Builds a reqwest client that honors Codex custom CA environment variables.
- build_
rustls_ client_ config_ with_ custom_ ca - Builds a rustls client config using native roots and any configured Codex custom CA bundle.
- is_
allowed_ chatgpt_ host - Returns whether
hostis one of the ChatGPT hosts Codex is allowed to treat as first-party ChatGPT HTTP traffic. - maybe_
build_ rustls_ client_ config_ with_ custom_ ca - Builds a rustls client config when a Codex custom CA bundle is configured.
- with_
chatgpt_ cloudflare_ cookie_ store - Adds the process-local ChatGPT Cloudflare cookie jar used by Codex HTTP clients.