Crate aws_smithy_http_client
source ·Expand description
HTTP client implementation for smithy-rs generated code.
§Crate Features
default-client
: Enable default HTTP client implementation (based on hyper 1.x).rustls-ring
: Enable TLS provider based onrustls
usingring
as the crypto providerrustls-aws-lc
: Enable TLS provider based onrustls
usingaws-lc
as the crypto providerrustls-aws-lc-fips
: Same asrustls-aws-lc
feature but using a FIPS compliant version ofaws-lc
s2n-tls
: Enable TLS provider based ons2n-tls
usingaws-lc
as 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§
- Legacy HTTP and TLS connectors that use hyper 0.14.x and rustls.
- test_util
test-util
Various fake/mock clients for testing. - tls
default-client
TLS connector(s)
Macros§
- ev
default-client
andwire-mock
andtest-util
Helper to generate match expressions for events - match_events
default-client
andwire-mock
andtest-util
Helper macro to generate a series of test expectations - matcher
default-client
andwire-mock
andtest-util
Structs§
- Builder
default-client
Builder for a hyper-backedHttpClient
implementation. - Connector
default-client
HttpConnector
used to make HTTP requests. - ConnectorBuilder
default-client
Builder forConnector
. - HTTP client errors
Functions§
- default_connector
default-client
GivenHttpConnectorSettings
and anSharedAsyncSleep
, create aSharedHttpConnector
from defaults depending on what cargo features are activated.