Skip to main content

Module client

Module client 

Source

Structs§

Client
ClientConfig
ProxyDiagnostic
What a client knows about the proxy it uses, for diagnostics. Credentials are never part of it.
Request
Response
ResponseHead
Status line and headers of a response whose body was not read; see Client::send_headers.
RetryEvent
One retry decision, reported to ClientConfig::on_retry. url and reason have configured and per-request secret values replaced by [redacted].
StreamResponse

Enums§

Method
ProxyMode
How requests reach the network.
TrustRoots
Which certificate roots verify a server’s TLS certificate.

Functions§

form_encode
percent_decode
percent_encode
Percent-encode for application/x-www-form-urlencoded / URL query values.