Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getHandshakeServerNames (0.12 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      /** For MockWebServer. This returns the inbound SNI names. */
      @Suppress("NewApi")
      @IgnoreJRERequirement // This function is overridden to require API >= 24.
      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
        return try {
          session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top