IsolateHttp class Null safety

Isolate Http

head, get, post, put, delete, send

Constructors

IsolateHttp({Duration? timeout, String? debugLabel})
Create an IsolateHttp

Properties

hashCode int
The hash code for this object.
read-onlyinherited
listener ← (dynamic Function?(String)?)
write-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

delete(String url, {Map<String, String>? query, Map<String, String>? headers, Object? body}) Future<IsolateHttpResponse?>
Sends an HTTP DELETE request with the given headers to the given URL.
get(String url, {Map<String, String>? query, Map<String, String>? headers}) Future<IsolateHttpResponse?>
Sends an HTTP GET request with the given headers to the given URL.
Sends an HTTP HEAD request with the given headers to the given URL.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
post(String url, {Map<String, String>? query, Map<String, String>? headers, Object? body, List<HttpFile>? files}) Future<IsolateHttpResponse?>
Sends an HTTP POST request with the given headers and body to the given URL.
put(String url, {Map<String, String>? query, Map<String, String>? headers, Object? body, List<HttpFile>? files}) Future<IsolateHttpResponse?>
Sends an HTTP PUT request with the given headers and body to the given URL.
send(IsolateHttpRequest request) Future<IsolateHttpResponse?>
Sends an IsolateHttpRequest and returns the IsolateHttpResponse.
toString() String
A string representation of this object.
inherited

Operators

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