👎Deprecated: Direct HTTP test utility support from
aws-smithy-runtime
crate is deprecated. Please use the test-util
feature from aws-smithy-http-client
insteadAvailable on crate features
client
and test-util
only.Modules§
Structs§
- Capture
Request Handler - Test Connection to capture a single request
- Capture
Request Receiver - Receiver for
CaptureRequestHandler
. - Never
Client - A client that will never respond.
- Never
TcpConnector connector-hyper-0-14-x
- A TCP connector that never connects.
- Replay
Event - Test data for the
StaticReplayClient
. - Static
Replay Client - Request/response replaying client for use in tests.
Functions§
- capture_
request - infallible_
client_ fn - Create a
SharedHttpClient
fromFn(http:Request) -> http::Response