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§
- CaCertificate
- A public CA certificate bundle file.
- Client
Certificate - A client certificate for SSL/TLS client validation.
- Dialer
- A custom address or dialer for connecting to a host.
- Dialer
Parse Error - An error which can be returned when parsing a dial address.
- Expect
Continue - Controls the use of the
Expect
request header when sending request bodies with HTTP/1.1. - Network
Interface - Used to configure which local addresses or interfaces should be used to send network traffic from.
- Private
Key - A private key file.
- Resolve
Map - A mapping of host and port pairs to IP addresses.
- SslOption
- A flag that can be used to alter the behavior of SSL/TLS connections.
- Version
Negotiation - A strategy for selecting what HTTP versions should be used when communicating with a server.
Enums§
- DnsCache
- DNS caching configuration.
- IpVersion
- Supported IP versions that can be used.
- Redirect
Policy - Describes a policy for handling server redirects.
Traits§
- Configurable
- Provides additional methods when building a request for configuring various execution-related options on how the request should be sent.