- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for proxya (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
private const val PROXY_A_HOST = "proxya" private val proxyA = Proxy( Proxy.Type.HTTP, InetSocketAddress.createUnresolved(PROXY_A_HOST, PROXY_A_PORT), ) private const val PROXY_B_PORT = 1002 private const val PROXY_B_HOST = "proxyb" private val proxyB = Proxy( Proxy.Type.HTTP,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
) } @Test @Throws(IOException::class) fun successfulHttpProxyConnect() { server!!.enqueue(MockResponse()) val proxy = server!!.proxyAddress client = client .newBuilder() .proxy(proxy) .build() val call = client.newCall( Request .Builder() .url("http://www.fakeurl") .build(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// If we used the ProxySelector, and got a IOException during connect, report the failure. if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed( route.address.url.toUri(), route.proxy.address(), e, ) } user.connectFailed(route, null, e)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
} /** * Invoked after proxy selection. * * Note that the list of proxies is never null, but it may be a list containing * only [Proxy.NO_PROXY]. This comes up in several situations: * * * If neither a proxy nor proxy selector is configured. * * If the proxy is configured explicitly as [Proxy.NO_PROXY]. * * If the proxy selector returns only [Proxy.NO_PROXY]. * * If the proxy selector returns an empty list or null.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
var client = OkHttpClient.Builder().build() assertThat(client.proxy).isNull() assertThat(client.proxySelector) .isNotInstanceOf(NullProxySelector::class.java) client = OkHttpClient .Builder() .proxy(Proxy.NO_PROXY) .build() assertThat(client.proxy).isSameAs(Proxy.NO_PROXY) assertThat(client.proxySelector)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val protocols: List<Protocol> = address.protocols() val connectionSpecs: List<ConnectionSpec> = address.connectionSpecs() val proxySelector: ProxySelector = address.proxySelector() val proxy: Proxy? = address.proxy() val sslSocketFactory: SSLSocketFactory? = address.sslSocketFactory() val hostnameVerifier: HostnameVerifier? = address.hostnameVerifier()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
fun proxyMoveTest(cleanClose: Boolean) { // Define a single Proxy at myproxy:8008 that will artificially move during the test val proxySelector = RecordingProxySelector() val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008) proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress)) // Define two host names for the DNS routing of fake proxy servers
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
proxy: Proxy, ) = TODO() override fun secureConnectStart(call: Call) = TODO() override fun secureConnectEnd( call: Call, handshake: Handshake?, ) = TODO() override fun connectEnd( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
*/ public String body() { return body; } /** * Sets the proxy for the request. * * @param proxy the proxy * @return this CurlRequest instance */ public CurlRequest proxy(final Proxy proxy) { this.proxy = proxy; return this; } /** * Sets the character encoding for the request. *
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT""")) .assertLogMatch(Regex("""connectEnd: http/1.1""")) .assertLogMatch( Regex( """connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=none protocol=http/1\.1\}""", ), ).assertLogMatch(Regex("""requestHeadersStart""")) .assertLogMatch(Regex("""requestHeadersEnd"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0)