- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeTimeout (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* The write timeout is applied for individual write IO operations. The default value is 10 * seconds. * * @see Sink.timeout */ fun writeTimeout( timeout: Long, unit: TimeUnit, ) = apply { writeTimeout = checkDuration("timeout", timeout, unit) } /** * Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val stream = connection.newStream(headerEntries("b", "banana"), true) val sink = stream.getSink() sink.write(Buffer().writeUtf8("abcde"), 5) stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS) val startNanos = System.nanoTime() sink.write(Buffer().writeUtf8("f"), 1) assertFailsWith<InterruptedIOException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun webSocketCloseTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder; public final fun writeTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder; public final fun writeTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder; public final fun writeTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder; } public final class okhttp3/OkHttpClient$Companion { }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)