HttpClient class abstract

Implementers

Constructors

HttpClient({Duration timeout = const Duration(seconds: 30)})

Properties

hashCode int
The hash code for this object.
no setterinherited
prefix String
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
getter/setter pair

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