Package-level declarations
Types
Link copied to clipboard
class OkHttpClient(client: OkHttpClient, initialBaseUrl: String?, initialAccessToken: String?, initialClientInfo: ClientInfo, initialDeviceInfo: DeviceInfo, val httpClientOptions: HttpClientOptions, socketConnectionFactory: SocketConnectionFactory) : ApiClient
Link copied to clipboard
class OkHttpFactory(val base: OkHttpClient = okhttp3.OkHttpClient.Builder().build()) : ApiClientFactory, SocketConnectionFactory
Create a new factory that creates OkHttp ApiClient instances and SocketConnections on a shared connection pool. All instances will be built on top of the base okHttpClient.
Link copied to clipboard