- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getHandshakeServerNames (0.2 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
get() = (javaNetSocket as? SSLSocket)?.session?.handshake() val handshakeServerNames: List<String> get() = (javaNetSocket as? SSLSocket) ?.let { Platform.Companion.get().getHandshakeServerNames(it) } ?: listOf() fun shutdownInput() { javaNetSocket.shutdownInput() } fun shutdownOutput() { javaNetSocket.shutdownOutput() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
super.buildTrustRootIndex(trustManager) } override fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> { // The superclass implementation requires APIs not available until API 24+. if (Build.VERSION.SDK_INT < 24) return listOf() return super.getHandshakeServerNames(sslSocket) } override fun log( message: String, level: Int, t: Throwable?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
/** For MockWebServer. This returns the inbound SNI names. */ @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 }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun getConnectionIndex ()I public final fun getExchangeIndex ()I 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 getRequestLine ()Ljava/lang/String;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.8K bytes - Viewed (0)