Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for inTunnel (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse
            .Builder()
            .code(407)
            .headers(headersOf("Proxy-Authenticate", "Basic realm=\"localhost\""))
            .inTunnel()
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(
          MockResponse(body = "response body"),
        )
        client =
          client
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

            server.enqueue(
              MockResponse
                .Builder()
                .code(407)
                .headers(headersOf("Proxy-Authenticate", "Basic realm=\"localhost\""))
                .inTunnel()
                .build(),
            )
    
            overrideBadImplementation(override = override.override, testItFails = testItFails)
          }
    
          OverrideParam.Authenticator -> {
            server.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. CHANGELOG.md

        This is only relevant for duplex request bodies, because they are written concurrently when
        reading the response body.
    
     *  New: `MockResponse.inTunnel()` is a new `mockwebserver3` API to configure responses that are
        served while creating a proxy tunnel. This obsoletes both the `tunnelProxy` argument on
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top