- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 368 for protocols (0.05 seconds)
-
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
.header("Host", "cloudflare-dns.com") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2) assertThat(response.body.string()).contains("h=cloudflare-dns.com") } } @Test fun getWithDns() { client = client .newBuilder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/fr/docs/deployment/https.md
* Le cryptage de la connexion se fait au niveau du protocole TCP. * C'est une couche en dessous de HTTP. * Donc, le certificat et le traitement du cryptage sont faits avant HTTP. * TCP ne connaît pas les "domaines", seulement les adresses IP. * L'information sur le domaine spécifique demandé se trouve dans les données HTTP.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 06 04:48:30 GMT 2024 - 4.1K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
val response = Response .Builder() .request( Request .Builder() .url("https://example.com/") .build(), ).protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .build() assertThat(response.body.contentType()).isNull() assertThat(response.body.contentLength()).isEqualTo(0L)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
*/ package okhttp3.internal.authenticator import java.net.Authenticator import java.net.InetAddress import junit.framework.TestCase.assertNull import okhttp3.FakeDns import okhttp3.Protocol.HTTP_2 import okhttp3.Request import okhttp3.Response import okhttp3.TestValueFactory import okhttp3.internal.RecordingAuthenticator import org.junit.jupiter.api.AfterEach
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
} @Override public void connectEnd( Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) { printEvent("connectEnd"); } @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol, IOException ioe) { printEvent("connectFailed"); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* Prevent leaking a cache item's InputStreams when metadata read fails. * Use a string to identify TLS versions in routes. * Add frame logger for HTTP/2. * Replacing `httpMinorVersion` with `Protocol`. Expose HTTP/1.0 as a potential protocol. * Use `Protocol` to describe framing. * Implement write timeouts for HTTP/1.1 streams. * Avoid use of SPDY stream ID 1, as that's typically used for UPGRADE. * Support OAuth in `Authenticator`.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
proxy: Proxy, protocol: Protocol?, ) { for (delegate in eventListeners) { delegate.connectEnd(call, inetSocketAddress, proxy, protocol) } } override fun connectFailed( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ioe: IOException, ) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
String protocol = "perlookup"; Wagon one = wagonManager.getWagon(protocol); Wagon two = wagonManager.getWagon(protocol); assertNotSame(one, two); } private void assertWagon(String protocol) throws Exception { Wagon wagon = wagonManager.getWagon(protocol); assertNotNull(wagon, "Check wagon, protocol=" + protocol); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.9K bytes - Click Count (0)