Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for getSelectedProtocol (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          throw AssertionError("failed to remove ALPN", e)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to remove ALPN", e)
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        try {
          val provider = Proxy.getInvocationHandler(getMethod.invoke(null, sslSocket)) as AlpnProvider
          if (!provider.unsupported && provider.selected == null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      open fun afterHandshake(sslSocket: SSLSocket) {
      }
    
      /** Returns the negotiated protocol, or null if no protocol was negotiated. */
      open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null
    
      /** For MockWebServer. This returns the inbound SNI names. */
      @IgnoreJRERequirement // This function is overridden to require API >= 24.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 19.3K bytes
    - Click Count (2)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/platform/Android10Platform;->configureTlsExtensions(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V
    HSPLokhttp3/internal/platform/Android10Platform;->getSelectedProtocol(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;
    HSPLokhttp3/internal/platform/Android10Platform;->getStackTraceForCloseable(Ljava/lang/String;)Ljava/lang/Object;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
Back to Top