httpClient

fun httpClient(block: HttpClientConfig<*>.() -> Unit): DeepSeekClientBase.Builder

Configures the underlying HTTP client with custom settings.

Use this method for advanced customization of the HTTP client.

Example:

val client = DeepSeekClient("token") {
httpClient {
install(HttpTimeout) {
requestTimeoutMillis = 60000
}
}
}

Return

This builder for chaining

Parameters

block

Configuration block for the HTTP client


fun httpClient(client: HttpClient): DeepSeekClientBase.Builder