HttpTransport class
The default transport implementation over HTTP.
- Implemented types
Constructors
- HttpTransport({@required dynamic url, dynamic client, Duration timeout = const Duration(minutes: 1), String? authorization})
- Creates a new HttpTransport instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future -
Closes the transport client (and any underlying HTTP client).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
Request request) → Future< Response> -
Sends
request
and parses the response.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited