- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for socketAddress (0.09 sec)
-
okhttp/src/main/kotlin/okhttp3/Route.kt
) fun proxy(): Proxy = proxy @JvmName("-deprecated_socketAddress") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "socketAddress"), level = DeprecationLevel.ERROR, ) fun socketAddress(): InetSocketAddress = socketAddress /** * Returns true if this route tunnels HTTPS or HTTP/2 through an HTTP proxy. * See [RFC 2817, Section 5.2][rfc_2817]. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxyTest.kt
val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI) = listOf(socksProxy.proxy()) override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) = error("unexpected call") } val client = clientTestRule.newClientBuilder() .proxySelector(proxySelector) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") // InetAddress proxy specification. socketAddress = InetSocketAddress(InetAddress.getByName("localhost"), 1234) assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") socketAddress = InetSocketAddress(InetAddress.getByAddress(byteArrayOf(127, 0, 0, 1)), 1234) assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") socketAddress = InetSocketAddress(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
requestedUris.clear() } override fun connectFailed( uri: URI, sa: SocketAddress, ioe: IOException, ) { val socketAddress = sa as InetSocketAddress failures.add(format("%s %s:%d %s", uri, socketAddress, socketAddress.port, ioe.message!!)) } override fun toString() = "RecordingProxySelector"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
* limitations under the License. */ package okhttp3 import java.io.IOException import java.net.Proxy import java.net.ProxySelector import java.net.SocketAddress import java.net.URI class FakeProxySelector : ProxySelector() { val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
this(path, channel); this.inetSocketAddress = address; } @Override public void connect(SocketAddress endpoint) throws IOException { this.inetSocketAddress = (InetSocketAddress) endpoint; super.connect(new UnixSocketAddress(path), 0); } @Override public void connect(SocketAddress endpoint, int timeout) throws IOException { this.inetSocketAddress = (InetSocketAddress) endpoint;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.json
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 40.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml
- endpoint: address: socketAddress: address: 10.244.0.8 portValue: 53 healthCheckConfig: {} healthStatus: HEALTHY loadBalancingWeight: 1 metadata: filterMetadata: istio: workload: coredns;kube-system;;;Kubernetes - endpoint: address: socketAddress: address: 10.244.0.3
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 17.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.json
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.yaml
- clusterName: outbound|80||istio-ingressgateway.istio-system.svc.cluster.local endpoints: - lbEndpoints: - endpoint: address: socketAddress: address: 10.244.0.176 portValue: 8080 healthCheckConfig: {} healthStatus: HEALTHY loadBalancingWeight: 1 metadata: filterMetadata: istio:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 1K bytes - Viewed (0)