Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getHandshakeServerNames (0.18 sec)

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

      /** For MockWebServer. This returns the inbound SNI names. */
      @SuppressLint("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 session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  2. mockwebserver/api/mockwebserver3.api

    	public final fun getBodySize ()J
    	public final fun getChunkSizes ()Ljava/util/List;
    	public final fun getFailure ()Ljava/io/IOException;
    	public final fun getHandshake ()Lokhttp3/Handshake;
    	public final fun getHandshakeServerNames ()Ljava/util/List;
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getRequestLine ()Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top