Expand description
HTTP client implementation for smithy-rs generated code.
§Crate Features
default-client: Enable default HTTP client implementation (based on hyper 1.x).rt-tokio: Enable Tokio-specific runtime adapters for the default client.rustls-ring: Enable TLS provider based onrustlsusingringas the crypto providerrustls-aws-lc: Enable TLS provider based onrustlsusingaws-lcas the crypto providerrustls-aws-lc-fips: Same asrustls-aws-lcfeature but using a FIPS compliant version ofaws-lcs2n-tls: Enable TLS provider based ons2n-tlsusingaws-lcas the crypto provider.hyper-014: (Deprecated) HTTP client implementation based on hyper-0.14.x.test-util: Enables utilities for unit tests. DO NOT ENABLE IN PRODUCTION.
Modules§
- pool
- Connection pooling with explicit runtime and network placement.
- proxy
- Proxy configuration Proxy configuration for HTTP clients
- tls
- TLS connector(s)
Structs§
- Builder
- Builder for a hyper-backed
HttpClientimplementation. - Connector
HttpConnectorused to make HTTP requests.- Connector
Builder - Builder for
Connector. - Http
Client Error - HTTP client errors
Functions§
- default_
connector - Given
HttpConnectorSettingsand anSharedAsyncSleep, create aSharedHttpConnectorfrom defaults depending on what cargo features are activated.