HttpClient class abstract
- Implementers
Constructors
- HttpClient({Duration timeout = const Duration(seconds: 30)})
Properties
Methods
-
checkResult(
RespData a, String url, Map< String, String> headers) → int -
close(
) → void -
getHeaders(
) → Map< String, String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendReq(
String url, ReqInfo params, String method) → Future< Response?> ? -
standardData(
String url, dynamic jsonMap) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited