Skip to main content

Module http

Module http 

Source
Expand description

Service-agnostic HTTP core: the transport probe behind grr transport, and the request-execution engine (execute plus the verb builders) it hosts.

Zero-config by construction: all tuning is compile-time constants. tokio sizes OS threads to cores; the semaphore bounds only in-flight HTTP requests so bursts stay under Google’s per-user rate limits.

Structs§

HttpCore
The authenticated HTTP engine. HttpCore::connect negotiates the transport version against a service base URL and records it in TransportInfo; grr transport reports that result.
TransportInfo

Functions§

apply_transport_version
Apply the transport-level HTTP version override for data-plane requests.
build_http_client
Build HTTP client with auto-tuned transport settings.