Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for requireClientAuth (0.53 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * proceed normally. If the client presents an untrusted certificate or no certificate at all the
       * handshake will fail and no connection will be established.
       */
      fun requireClientAuth() {
        this.clientAuth = CLIENT_AUTH_REQUIRED
      }
    
      /**
       * Awaits the next HTTP request, removes it, and returns it. Callers should use this to verify the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false)
        mockWebServer.noClientAuth()
        mockWebServer.requestClientAuth()
        mockWebServer.requireClientAuth()
        val request: RecordedRequest = mockWebServer.takeRequest()
        val nullableRequest: RecordedRequest? = mockWebServer.takeRequest(0L, TimeUnit.SECONDS)
        var requestCount: Int = mockWebServer.requestCount
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top