RestHttpClient class abstract
Create your own implementation of this class if you need to inject your own HTTP client into RestClient. On server, for example. See RestClient.
- Implementers
Constructors
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
-
delete(
String url, {dynamic data, Map< String, String> ? headers}) → Future<Response> -
get(
String url, {dynamic data, Map< String, String> ? headers}) → Future<Response> -
head(
String url, {Map< String, String> ? headers}) → Future<Response> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
String url, dynamic data, {Map< String, String> headers}) → Future<Response> -
post(
String url, dynamic data, {Map< String, String> ? headers}) → Future<Response> -
put(
String url, dynamic data, {Map< String, String> ? headers}) → Future<Response> -
streamedRequest(
String method, String url, int length, Stream uploadStream, {Map< String, String> ? headers}) → Future<Response> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited