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 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§

  • hyper_014Deprecatedhyper-014
    Legacy HTTP and TLS connectors that use hyper 0.14.x and rustls.
  • test_utiltest-util
    Various fake/mock clients for testing.
  • tlsdefault-client
    TLS connector(s)

Macros§

  • evdefault-client and wire-mock and test-util
    Helper to generate match expressions for events
  • match_eventsdefault-client and wire-mock and test-util
    Helper macro to generate a series of test expectations
  • matcherdefault-client and wire-mock and test-util

Structs§

Functions§

  • default_connectordefault-client
    Given HttpConnectorSettings and an SharedAsyncSleep, create a SharedHttpConnector from defaults depending on what cargo features are activated.