- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for writeTimeoutMillis (0.21 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
} override fun writeTimeoutMillis(): Int = writeTimeoutMillis override fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Interceptor.Chain { check(exchange == null) { "Timeouts can't be adjusted in a network interceptor" } return copy(writeTimeoutMillis = checkDuration("writeTimeout", timeout.toLong(), unit)) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
): ConnectPlan { return ConnectPlan( taskRunner = taskRunner, connectionPool = connectionPool, readTimeoutMillis = readTimeoutMillis, writeTimeoutMillis = writeTimeoutMillis, socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
ForceConnectRoutePlanner( RealRoutePlanner( taskRunner = taskRunner, connectionPool = pool, readTimeoutMillis = readTimeoutMillis, writeTimeoutMillis = writeTimeoutMillis, socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
return RealRoutePlanner( taskRunner = client.taskRunner, connectionPool = client.connectionPool.delegate, readTimeoutMillis = client.readTimeoutMillis, writeTimeoutMillis = client.writeTimeoutMillis, socketConnectTimeoutMillis = chain.connectTimeoutMillis, socketReadTimeoutMillis = chain.readTimeoutMillis, pingIntervalMillis = client.pingIntervalMillis,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
index = 0, exchange = null, request = originalRequest, connectTimeoutMillis = client.connectTimeoutMillis, readTimeoutMillis = client.readTimeoutMillis, writeTimeoutMillis = client.writeTimeoutMillis, ) var calledNoMoreExchanges = false try { val response = chain.proceed(originalRequest) if (isCanceled()) { response.closeQuietly()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
else -> null } return ConnectPlan( taskRunner = taskRunner, connectionPool = connectionPool, readTimeoutMillis = readTimeoutMillis, writeTimeoutMillis = writeTimeoutMillis, socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
Cleanup_ for a safe and fast upgrade. Backwards-Incompatible Changes ------------------------------ #### OkHttpClient final methods `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
timeout: Int, unit: TimeUnit, ): Chain fun readTimeoutMillis(): Int fun withReadTimeout( timeout: Int, unit: TimeUnit, ): Chain fun writeTimeoutMillis(): Int fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Chain }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
@JvmName("-deprecated_writeTimeoutMillis") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "writeTimeoutMillis"), level = DeprecationLevel.ERROR, ) fun writeTimeoutMillis(): Int = writeTimeoutMillis @JvmName("-deprecated_pingIntervalMillis") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "pingIntervalMillis"),
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/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
stream!!.closeLater(ErrorCode.CANCEL) throw IOException("Canceled") } stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) } override fun flushRequest() { http2Connection.flush() } override fun finishRequest() { stream!!.getSink().close() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0)