Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for configureTlsExtensions (0.18 sec)

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

      }
    
      /**
       * Configure TLS extensions on `sslSocket` for `route`.
       */
      open fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
      }
    
      /** Called after the TLS handshake to release resources allocated by [configureTlsExtensions]. */
      open fun afterHandshake(sslSocket: SSLSocket) {
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        connectionSpec: ConnectionSpec,
      ) {
        val address = route.address
        var success = false
        try {
          if (connectionSpec.supportsTlsExtensions) {
            Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols)
          }
    
          // Force handshake. This can throw!
          sslSocket.startHandshake()
          // block for session establishment
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                sslSocket.wantClientAuth = true
              }
              openClientSockets.add(socket)
    
              if (protocolNegotiationEnabled) {
                Platform.get().configureTlsExtensions(sslSocket, null, protocols)
              }
    
              sslSocket.startHandshake()
    
              if (protocolNegotiationEnabled) {
                val protocolString = Platform.get().getSelectedProtocol(sslSocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top