- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for inetSocketAddress (0.11 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.net.InetSocketAddress import java.net.Proxy import okhttp3.internal.toCanonicalHost /** * The concrete route used by a connection to reach an abstract origin server. When creating a * connection the client has many options: *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
* limitations under the License. */ package okhttp3.internal.authenticator import java.io.IOException import java.net.Authenticator import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import okhttp3.Credentials import okhttp3.Dns import okhttp3.HttpUrl import okhttp3.Request import okhttp3.Response import okhttp3.Route /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isIn import java.io.IOException import java.net.InetSocketAddress import java.net.UnknownHostException import java.time.Duration import java.util.Arrays import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import mockwebserver3.MockResponse
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt
* limitations under the License. */ package okhttp3.containers import assertk.assertThat import assertk.assertions.contains import java.net.InetSocketAddress import java.net.Proxy import java.net.Proxy.Type.SOCKS import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal import java.net.InetSocketAddress import java.net.Socket import java.security.cert.CertificateException import java.security.cert.X509Certificate import javax.net.ssl.SSLEngine import javax.net.ssl.X509ExtendedTrustManager
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* [Call.request] is a redirect to a different address, or a connection is retried. */ open fun connectStart( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, ) { } /** * Invoked just prior to initiating a TLS connection. * * This method is invoked if the following conditions are met: *
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/EventListenerTest.kt
response.body.close() val address = client.dns.lookup(server.hostName)[0] val expectedAddress = InetSocketAddress(address, server.port) val connectStart = listener.removeUpToEvent<ConnectStart>() assertThat(connectStart.call).isSameAs(call) assertThat(connectStart.inetSocketAddress).isEqualTo(expectedAddress) assertThat(connectStart.proxy).isEqualTo(Proxy.NO_PROXY)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket = object : Socket() { override fun connect( endpoint: SocketAddress?, timeout: Int, ) { val requested = (endpoint as InetSocketAddress)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
* limitations under the License. */ package okhttp3.internal.http import assertk.assertThat import assertk.assertions.containsExactly import java.io.IOException import java.net.InetSocketAddress import java.net.Proxy import java.net.ProxySelector import java.net.SocketAddress import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
} override fun connectEnd( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ) { logWithTime("connectEnd: $protocol") delegate.connectEnd(call, inetSocketAddress, proxy, protocol) } override fun connectFailed( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 6.5K bytes - Viewed (0)