logo
Expand description

Definition of all client and request configuration options.

Individual options are separated out into multiple types. Each type acts both as a “field name” and the value of that option.

Structs

A public CA certificate bundle file.

A client certificate for SSL/TLS client validation.

A custom address or dialer for connecting to a host.

An error which can be returned when parsing a dial address.

Controls the use of the Expect request header when sending request bodies with HTTP/1.1.

Used to configure which local addresses or interfaces should be used to send network traffic from.

A private key file.

A mapping of host and port pairs to IP addresses.

A flag that can be used to alter the behavior of SSL/TLS connections.

A strategy for selecting what HTTP versions should be used when communicating with a server.

Enums

DNS caching configuration.

Supported IP versions that can be used.

Describes a policy for handling server redirects.

Traits

Provides additional methods when building a request for configuring various execution-related options on how the request should be sent.