Session Builder
The builder class that corresponds with Session.
Constructors
Extensions
Link copied to clipboard
Initializes account configuration.
Link copied to clipboard
Creates ApiConfig configurations. Provides timeout, retries, emulations and so on.
Link copied to clipboard
fun <T : HttpClientEngineConfig> SessionBuilder.httpClient(engineFactory: HttpClientEngineFactory<T>, block: HttpClientConfig<T>.() -> Unit = {})
Content copied to clipboard
Creates HttpClient with engine factory and config block.
fun SessionBuilder.httpClient(block: HttpClientConfig<*>.() -> Unit = {})
Content copied to clipboard
Creates HttpClient with default engine factory and engine config block
Creates HttpClient with existing client.