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

Modules§

dvrDeprecated
wireDeprecated

Structs§

CaptureRequestHandler
Test Connection to capture a single request
CaptureRequestReceiver
Receiver for CaptureRequestHandler.
NeverClient
A client that will never respond.
NeverTcpConnector
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