AWSBaseHttpRequest class sealed
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
- followRedirects → bool
-
Whether to automatically follow redirects.
final
- 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
- maxRedirects → int
-
If followRedirects is
true
, sets the maximum number of redirects before the request is terminated and an exception is thrown.final - 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(
) → Future -
Indicates that no more branches will be requested via split.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → FutureOr< AWSHttpRequest> -
Reads body fully and returns a flattened
AWSHttpRequest
. -
send(
{AWSHttpClient? client, FutureOr< void> onCancel()?}) → AWSHttpOperation<AWSBaseHttpResponse> - Sends the HTTP request.
-
split(
) → Stream< List< int> > -
Returns a single-subscription stream that's a copy of the input stream.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited