Skip to main content

Crate aws_smithy_http_client

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).
  • rt-tokio: Enable Tokio-specific runtime adapters for the default client.
  • rustls-ring: Enable TLS provider based on rustls using ring as the crypto provider
  • rustls-aws-lc: Enable TLS provider based on rustls using aws-lc as the crypto provider
  • rustls-aws-lc-fips: Same as rustls-aws-lc feature but using a FIPS compliant version of aws-lc
  • s2n-tls: Enable TLS provider based on s2n-tls using aws-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§

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 HttpClient implementation.
Connector
HttpConnector used to make HTTP requests.
ConnectorBuilder
Builder for Connector.
HttpClientError
HTTP client errors

Functions§

default_connector
Given HttpConnectorSettings and an SharedAsyncSleep, create a SharedHttpConnector from defaults depending on what cargo features are activated.