Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nullDefaultProxySelector (0.17 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

            .build()
        assertThat(okHttpClient.protocols.size).isEqualTo(1)
        assertThat(okHttpClient.protocols[0]).isEqualTo(Protocol.H2_PRIOR_KNOWLEDGE)
      }
    
      @Test fun nullDefaultProxySelector() {
        server!!.enqueue(MockResponse(body = "abc"))
        ProxySelector.setDefault(null)
        val client = clientTestRule.newClient()
        val request = Request(server!!.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top