MockAWSHttpClient class
A mock AWSHttpClient for use in tests.
- Inheritance
-
- Object
- AWSHttpClient
- AWSCustomHttpClient
- MockAWSHttpClient
Constructors
- MockAWSHttpClient(MockRequestHandler _handler)
- A mock AWSHttpClient for use in tests.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onBadCertificate ↔ BadCertificateCallback
-
Callback for VM clients when an SSL exception occurs due to an untrusted
or unverifiable certificate.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportedProtocols ↔ SupportedProtocols
-
The supported HTTP protocols, used for negotiating with remote servers.
getter/setter pairinherited
Methods
-
close(
{bool force = false}) → Future< void> -
Closes the resource and all connected objects.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
AWSBaseHttpRequest request, {FutureOr< void> onCancel()?}) → AWSHttpOperation<AWSBaseHttpResponse> -
Sends
request
using the underlying HTTP protocol and returns the streaming response. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited