Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NO_PROXY (0.03 sec)

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

        }
      }
    
      internal enum class ProxyConfig {
        NO_PROXY {
          override fun connect(
            server: MockWebServer,
            client: OkHttpClient,
          ): Call.Factory =
            client
              .newBuilder()
              .proxy(Proxy.NO_PROXY)
              .build()
        },
        CREATE_ARG {
          override fun connect(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        client =
          client
            .newBuilder()
            .proxySelector(
              FakeProxySelector()
                .addProxy(server2.proxyAddress)
                .addProxy(Proxy.NO_PROXY),
            ).build()
        server2.close()
        val request =
          Request(
            url = server.url("/"),
            body = "abc".toRequestBody("text/plain".toMediaType()),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top