Module test_util

Source
👎Deprecated: Direct HTTP test utility support from aws-smithy-runtime crate is deprecated. Please use the test-util feature from aws-smithy-http-client instead
Available on crate features client and test-util only.

Modules§

dvrDeprecatedconnector-hyper-0-14-x
wireDeprecatedconnector-hyper-0-14-x and wire-mock

Structs§

CaptureRequestHandler
Test Connection to capture a single request
CaptureRequestReceiver
Receiver for CaptureRequestHandler.
NeverClient
A client that will never respond.
NeverTcpConnectorconnector-hyper-0-14-x
A TCP connector that never connects.
ReplayEvent
Test data for the StaticReplayClient.
StaticReplayClient
Request/response replaying client for use in tests.

Functions§

capture_request
infallible_client_fn
Create a SharedHttpClient from Fn(http:Request) -> http::Response