Skip to main content

Module client

Module client 

Source
Expand description

HTTP client implementation.

Structs§

HttpClient
Authenticated HTTP client for CLI command implementations.
HttpClientBuilder
Builder for HttpClient.
NoopTransportLogger
Logger that intentionally drops transport events.
TransportLogEvent
Structured debug event emitted by TransportLogger.

Traits§

TransportLogger
Debug logger interface for transport events.

Functions§

parse_error_response
Converts a non-success HTTP response into the shared transport error shape.
set_default_user_agent
Sets the user-agent used by subsequently created HttpClient values.