AWSBaseHttpRequest class abstract

A parameterized HTTP request.

The request is typically passed to a signer for signing, although it can be used unsigned as well for sending unauthenticated requests.

See also:

Implemented types
Implementers

Properties

body Stream<List<int>>
The request's body stream.
no setter
bodyBytes FutureOr<List<int>>
The collected bytes of the body stream.
no setter
contentLength FutureOr<int>
The request's content length.
no setter
hasContentLength bool
Whether the request has a known content length.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
The case-insensitive headers of the request.
final
host String
The host for the request.
final
httpRequest → StreamedRequest
Creates a package:http request from this request.
no setter
method AWSHttpMethod
The method of the request.
final
path String
The path of the request.
final
port int?
The port of the request.
final
queryParameters Map<String, String>
Query parameters for the request.
no setter
queryParametersAll Map<String, List<String>>
All query parameters for the request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String
The scheme of the request, e.g. https.
final
uri Uri
The URI of the request.
latefinal

Methods

close() FutureOr<void>
Closes the resource and all connected objects.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send([Client? client]) Future<AWSStreamedHttpResponse>
Sends the HTTP request.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited