HttpClient class

Constructors

HttpClient({Client? wrap})

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() → void
delete(ExecutionContext executionContext, Uri url, {Map<String, String>? headers}) Future<Response>
get(ExecutionContext executionContext, Uri url, {Map<String, String>? headers}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(ExecutionContext executionContext, Uri url, {Map<String, String>? headers, dynamic body, Encoding? encoding}) Future<Response>
put(ExecutionContext executionContext, Uri url, {Map<String, String>? headers, dynamic body, Encoding? encoding}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

handleResponse(Future<Response> responseFuture) Future<Response>