HttpRequest class

Constructors

HttpRequest(ApiRequestMethod method, Uri requestUri, Map<String, List<String>> headers, Stream<List<int>> bodyData)
HttpRequest.http1(HttpRequest request)
factory
HttpRequest.http2(HeadersStreamMessage headerMessage, Stream<List<int>> data)
factory

Properties

bodyData Stream<List<int>>
final
charset Encoding?
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, List<String>>
final
method ApiRequestMethod
final
path String
no setter
queryParams Map<String, String>
no setter
requestUri Uri
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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