IsolateHttp class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
listener
← (dynamic Function(String)?)
-
no getter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(String url, {Map<String, String>? query, Object? body})
→ Future<IsolateHttpResponse?>
-
Sends an HTTP DELETE request with the given headers to the given URL.
-
get(String url, {Map<String, String>? query, )
→ Future<IsolateHttpResponse?>
-
Sends an HTTP GET request with the given headers to the given URL.
-
head(String url, {Map<String, String>? query, )
→ Future<IsolateHttpResponse?>
-
Sends an HTTP HEAD request with the given headers to the given URL.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(String url, {Map<String, String>? query, 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, 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