- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,348 for connection (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertContent("This comes after a busted connection", response2) // Check that a fresh connection was created, either immediately or after attempting reuse. // We know that a fresh connection was created if the server recorded a request with sequence // number 0. Since the client may have attempted to reuse the broken connection just before
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
@Throws(IOException::class) fun proceed(request: Request): Response /** * Returns the connection the request will be executed on. This is only available in the chains * of network interceptors; for application interceptors this is always null. */ fun connection(): Connection? fun call(): Call fun connectTimeoutMillis(): Int fun withConnectTimeout( timeout: Int,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java
*/ package jcifs.internal.smb2.multichannel; /** * SMB3 Multi-Channel connection states */ public enum ChannelState { /** * Channel is not connected */ DISCONNECTED(0), /** * Connection establishment in progress */ CONNECTING(1), /** * Authentication in progress */ AUTHENTICATING(2), /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.concurrent.withLock import okhttp3.internal.connection.CallConnectionUser import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.FastFallbackExchangeFinder import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealConnection import okhttp3.internal.connection.RealConnectionPool import okhttp3.internal.connection.RealRoutePlanner import okhttp3.internal.connection.RouteDatabase
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
clientTestRule.wrap( object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { socketClass = connection.socket().javaClass.name } }, ), ).build() val response = client.newCall(request).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if (before == 1) { // concurrent connection attempt if (waitForState(transport) == 2) { // finished connecting return null; } // failure to connect throw new SmbException("Tree disconnected while waiting for connection"); } if (before == 2) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
Request .Builder() .url(server.url("/")) .header("Connection", "upgrade") .post("Hello".toRequestBody()) .build() } assertThat(e).hasMessage("expected a null request body with 'Connection: upgrade'") } private fun enableTls(vararg protocols: Protocol) { client = client .newBuilder()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/features/events.md
.url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt
clientTestRule.wrap( object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { val sslSocket = connection.socket() as SSLSocket sessionIds.add( sslSocket.session.id .toByteString() .hex(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 5.5K bytes - Viewed (0)