fun writeTimeout(timeout: Long, unit: TimeUnit): OkHttpClient.Builder@IgnoreJRERequirement fun writeTimeout(duration: Duration): OkHttpClient.Builder
Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise values must be between 1 and Integer.MAX_VALUE when converted to milliseconds.
The write timeout is applied for individual write IO operations. The default value is 10 seconds.
See Also