HttpConfigBuilder class

Constructors

HttpConfigBuilder()

Properties

baseUrl String?
no setter
connectTimeOut Duration?
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
no setter
httpClientAdapter → HttpClientAdapter?
no setter
interceptors List<Interceptor>?
no setter
proxy String?
no setter
receiveTimeOut Duration?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeOut Duration?
no setter

Methods

addAllInterceptors(List<Interceptor> interceptors) HttpConfigBuilder
addHeaders(Map<String, dynamic> headers) HttpConfigBuilder
addInterceptor(Interceptor interceptors) HttpConfigBuilder
create() NetConstants
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBaseUrl(String baseUrl) HttpConfigBuilder
setConnectTimeOut(Duration connectTimeOut) HttpConfigBuilder
setHttpClientAdapter(HttpClientAdapter httpClientAdapter) HttpConfigBuilder
setProxy(String proxy) HttpConfigBuilder
setReceiveTimeOut(Duration receiveTimeOut) HttpConfigBuilder
setSendTimeOut(Duration sendTimeOut) HttpConfigBuilder
toString() String
A string representation of this object.
inherited

Operators

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