httpClient

public Config.Builder httpClient(OkHttpClient httpClient)

Sets the http client used to make requests, replacing the default one. Use this to share a client across an application or to attach interceptors, caching, or a custom connection pool.

Return

this builder

Parameters

httpClient

the http client to make requests with