- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getSelectedProtocol (0.09 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
} // Success! Save the handshake and the ALPN protocol. val maybeProtocol = if (connectionSpec.supportsTlsExtensions) { Platform.get().getSelectedProtocol(sslSocket) } else { null } javaNetSocket = sslSocket socket = sslSocket.asBufferedSocket()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
// Wait until after handshake to grab the buffered socket socket = MockWebServerSocket(sslSocket) if (protocolNegotiationEnabled) { val protocolString = Platform.get().getSelectedProtocol(sslSocket) protocol = when { protocolString != null -> Protocol.get(protocolString) else -> Protocol.HTTP_1_1 }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0)