AWSBaseHttpClient class abstract
An AWSHttpClient which supports modifying requests before sending and, optionally, modifying responses before being returned from send.
- To modify the request, override transformRequest.
- To modify the response, override transformResponse.
- Inheritance
-
- Object
- AWSHttpClient
- AWSCustomHttpClient
- AWSBaseHttpClient
Constructors
Properties
- baseClient → AWSHttpClient?
-
Overriding this will change the underlying send method without
interferring with transformations from transformRequest and
transformResponse.
no setter
- 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 pairoverride-getter
- 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 pairoverride
Methods
-
close(
{bool force = false}) → Future< void> - Closes the resource and all connected objects.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
AWSBaseHttpRequest request, {FutureOr< void> onCancel()?}) → AWSHttpOperation<AWSBaseHttpResponse> - Do not override this method on AWSBaseHttpClient.
-
toString(
) → String -
A string representation of this object.
inherited
-
transformRequest(
AWSBaseHttpRequest request) → Future< AWSBaseHttpRequest> -
Transforms a
request
before sending. -
transformResponse(
AWSBaseHttpResponse response) → Future< AWSBaseHttpResponse> -
Transforms a
response
before returning from send.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited