aws-smithy-http-client
HTTP client abstractions for generated smithy clients.
Connection test harness
The wire-mock feature exposes a deterministic connection-level test harness at
test_util::wire::connection. Each accepted socket receives one complete script:
use ;
use ;
# async
Multi-address loopback tests
Some tests simulate multiple resolved IP addresses by binding to different loopback addresses
(127.0.0.1, 127.0.0.2, and so on) on the same port. Linux and Windows normally make the full
127.0.0.0/8 block available without additional setup. On macOS, configure the additional
loopback aliases before running the tests:
These aliases do not persist across reboots. A test that requires an unavailable loopback address fails with a message identifying the address and these setup instructions.
This crate is part of the AWS SDK for Rust and the smithy-rs code generator. In most cases, it should not be used directly.