- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ConnectionListener (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
buildConnectionPool( connectionListener = connectionListener, taskRunner = taskRunner, ), ).dispatcher(Dispatcher(backend.executor)) .taskRunnerInternal(taskRunner) } else { OkHttpClient .Builder() .connectionPool(ConnectionPool(connectionListener = connectionListener)) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
private val javaNetSocket: JavaNetSocket, private val handshake: Handshake?, private val protocol: Protocol, private val socket: BufferedSocket, private val pingIntervalMillis: Int, internal val connectionListener: ConnectionListener, ) : Http2Connection.Listener(), Connection, ExchangeCodec.Carrier, Lockable { private var http2Connection: Http2Connection? = null // These properties are guarded by `this`. /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
toClose?.closeQuietly() call.eventListener.connectionReleased(call, candidate) candidate.connectionListener.connectionReleased(candidate, call) if (toClose != null) { candidate.connectionListener.connectionClosed(candidate) } else if (noNewExchangesEvent) { candidate.connectionListener.noNewExchanges(candidate) } return null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
} if (this.connection == null) { toClose?.closeQuietly() eventListener.connectionReleased(this, connection) connection.connectionListener.connectionReleased(connection, this) if (toClose != null) { connection.connectionListener.connectionClosed(connection) } } else { check(toClose == null) // If we still have a connection we shouldn't be closing any sockets.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0)