AWSHttpClient class abstract

An HTTP client with support for HTTP/1.1, HTTP/2, and cancelable requests.

Implemented types
Implementers

Constructors

AWSHttpClient()
An HTTP client with support for HTTP/1.1, HTTP/2, and cancelable requests.
factory
AWSHttpClient.protected()
Subclass constructor for AWSHttpClient.

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 pair
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 pair

Methods

close({bool force = false}) FutureOr<void>
Closes the resource and all connected objects.
override
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