-
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Give people access to the OkHttpsClient.Builder class so people can modify values, especially:
connectTimeoutreadTimeout
This should be done using kotlin's constructor with default values set.
class ChatBot(private val apiKey: String, private val client: OkHttpClient = Builder()
.connectTimeout(0, TimeUnit.SECONDS)
.readTimeout(0, TimeUnit.SECONDS).build()) {
// ...
}Metadata
Metadata
Assignees
Labels
No labels