- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newTestConnection (0.2 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
pool: RealConnectionPool, route: Route, idleAtNanos: Long = Long.MAX_VALUE, taskRunner: TaskRunner = this.taskRunner, ): RealConnection { val result = RealConnection.newTestConnection( taskRunner = taskRunner, connectionPool = pool, route = route, socket = Socket(), idleAtNs = idleAtNanos, ) result.withLock { pool.put(result) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
" cipherSuite=${handshake?.cipherSuite ?: "none"}" + " protocol=$protocol}" } companion object { const val IDLE_CONNECTION_HEALTHY_NS = 10_000_000_000 // 10 seconds. fun newTestConnection( taskRunner: TaskRunner, connectionPool: RealConnectionPool, route: Route, socket: Socket, idleAtNs: Long, ): RealConnection { val result =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0)