OkHttpClientBuilder class

Constructors

OkHttpClientBuilder()

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

addInterceptor(Interceptor interceptor) OkHttpClientBuilder
addNetworkInterceptor(Interceptor networkInterceptor) OkHttpClientBuilder
build() OkHttpClient
cache(Cache cache) OkHttpClientBuilder
connectionTimeout(Duration value) OkHttpClientBuilder
cookieJar(CookieJar cookieJar) OkHttpClientBuilder
followRedirects(bool value) OkHttpClientBuilder
idleTimeout(Duration value) OkHttpClientBuilder
maxRedirects(int value) OkHttpClientBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
proxy(Proxy proxy) OkHttpClientBuilder
proxySelector(ProxySelector proxySelector) OkHttpClientBuilder
securityContext(SecurityContext securityContext) OkHttpClientBuilder
toString() String
Returns a string representation of this object.
inherited

Operators

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