- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for connectTimeoutMillis (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
internal val request: Request, internal val connectTimeoutMillis: Int, internal val readTimeoutMillis: Int, internal val writeTimeoutMillis: Int, ) : Interceptor.Chain { private var calls: Int = 0 internal fun copy( index: Int = this.index, exchange: Exchange? = this.exchange, request: Request = this.request, connectTimeoutMillis: Int = this.connectTimeoutMillis,
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/RealCall.kt
val chain = RealInterceptorChain( call = this, interceptors = interceptors, index = 0, exchange = null, request = originalRequest, connectTimeoutMillis = client.connectTimeoutMillis, readTimeoutMillis = client.readTimeoutMillis, writeTimeoutMillis = client.writeTimeoutMillis, ) var calledNoMoreExchanges = false try {
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/Interceptor.kt
* of network interceptors; for application interceptors this is always null. */ fun connection(): Connection? fun call(): Call fun connectTimeoutMillis(): Int fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain fun readTimeoutMillis(): Int fun withReadTimeout( timeout: Int,
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-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
return RealInterceptorChain( call = call, interceptors = listOf(), index = 0, exchange = null, request = call.request(), connectTimeoutMillis = 10_000, readTimeoutMillis = 10_000, writeTimeoutMillis = 10_000, ) } fun newRoutePlanner( client: OkHttpClient, address: Address = newAddress(),
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/OkHttpClient.kt
@JvmName("-deprecated_connectTimeoutMillis") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "connectTimeoutMillis"), level = DeprecationLevel.ERROR, ) fun connectTimeoutMillis(): Int = connectTimeoutMillis @JvmName("-deprecated_readTimeoutMillis") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "readTimeoutMillis"),
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/KotlinDeprecationErrorTest.kt
val followRedirects: Boolean = client.followRedirects() val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure() val callTimeoutMillis: Int = client.callTimeoutMillis() val connectTimeoutMillis: Int = client.connectTimeoutMillis() val readTimeoutMillis: Int = client.readTimeoutMillis() val writeTimeoutMillis: Int = client.writeTimeoutMillis() val pingIntervalMillis: Int = client.pingIntervalMillis() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000) val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS) assertThat(chainB.connectTimeoutMillis()).isEqualTo(100) chainB.proceed(chainA.request()) } val interceptor2 = Interceptor { chain: Interceptor.Chain -> assertThat(chain.connectTimeoutMillis()).isEqualTo(100)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
serverSocketFactory * **MultipartBody.Part**: body, headers * **MultipartBody.**: boundary, parts, size, type * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner, connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns, eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
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/test/java/okhttp3/OkHttpClientTest.kt
ResponseCache.setDefault(DEFAULT_RESPONSE_CACHE) } @Test fun durationDefaults() { val client = clientTestRule.newClient() assertThat(client.callTimeoutMillis).isEqualTo(0) assertThat(client.connectTimeoutMillis).isEqualTo(10000) assertThat(client.readTimeoutMillis).isEqualTo(10000) assertThat(client.writeTimeoutMillis).isEqualTo(10000) assertThat(client.pingIntervalMillis).isEqualTo(0)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val followRedirects: Boolean = client.followRedirects val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure val callTimeoutMillis: Int = client.callTimeoutMillis val connectTimeoutMillis: Int = client.connectTimeoutMillis val readTimeoutMillis: Int = client.readTimeoutMillis val writeTimeoutMillis: Int = client.writeTimeoutMillis val pingIntervalMillis: Int = client.pingIntervalMillis
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0)