Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setServerNames (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
              // This is SSLParameters.setServerNames() in API 24+.
              setHostname.invoke(sslSocket, hostname)
            }
    
            // Enable ALPN.
            setAlpnProtocols.invoke(
              sslSocket,
              Platform.concatLengthPrefixed(protocols),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top