Skip to main content

Module test_util

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 feature client and (crate features test-util or legacy-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_requestlegacy-test-util
infallible_client_fnlegacy-test-util
Create a SharedHttpClient from Fn(http:Request) -> http::Response