- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for connectSocket (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
@Throws(IOException::class) private fun connectSocket() { val rawSocket = when (route.proxy.type()) { Proxy.Type.DIRECT, Proxy.Type.HTTP -> route.address.socketFactory.createSocket()!! else -> Socket(route.proxy) } this.rawSocket = rawSocket // Handle the race where cancel() precedes connectSocket(). We don't want to miss a cancel. if (canceled) {
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/internal/platform/AndroidPlatform.kt
DeferredSocketAdapter(ConscryptSocketAdapter.factory), DeferredSocketAdapter(BouncyCastleSocketAdapter.factory), ).filter { it.isSupported() } @Throws(IOException::class) override fun connectSocket( socket: Socket, address: InetSocketAddress, connectTimeout: Int, ) { try { socket.connect(address, connectTimeout) } catch (e: ClassCastException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
val session = sslSocket.session as? ExtendedSSLSession ?: return listOf() return session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName } } @Throws(IOException::class) open fun connectSocket( socket: Socket, address: InetSocketAddress, connectTimeout: Int, ) { socket.connect(address, connectTimeout) } open fun log( message: String, level: Int = INFO,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0)