HttpClientManager class

HttpClientManager

Constructors

HttpClientManager()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

connectTimeout int
connect timeout, default: '35's
read / write
requestBaseUrl String
read / write
requestConnectTimeout int
read / write

Static Methods

getBaseUrl() String
getTimeout() int
postBytes({String urlPath, List<int> bytes, APISuccessResponseHandler success, APIFailureResponseHandler failure, String baseUrl, Map<String, dynamic> headers}) → dynamic
request({URLMethod urlMethod, String urlPath, APISuccessResponseHandler success, APIFailureResponseHandler failure, String baseUrl, Map<String, dynamic> parames, Map<String, dynamic> header, APIWillRequestHandler willRequest}) → dynamic
responseJson({HttpClientResponse response, String responseBody, APISuccessResponseHandler success, APIFailureResponseHandler failure}) → dynamic
setRequestBaseUrl(String baseUrl) → dynamic
setRequestTimeout(int timeout) → dynamic