- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Fontaine (0.2 sec)
-
container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt
import org.testcontainers.containers.Network import org.testcontainers.junit.jupiter.Container import org.testcontainers.junit.jupiter.Testcontainers import org.testcontainers.utility.DockerImageName @Testcontainers class SocksProxyTest { val network: Network = Network.newNetwork() @Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) .withNetwork(network)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
} private fun String.toRule(): ByteString? { if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null if (contains(WILDCARD_CHAR)) { assertWildcardRule(this) } return encodeUtf8() } data class ImportResults( val sortedRules: SortedSet<ByteString>,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 6K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp! * Fix: Include the header `Accept: text/event-stream` for SSE calls. This header is not added if the request already contains an `Accept` header. * Fix: Don't crash with a `NullPointerException` if a server sends a close while we're sending a ping. OkHttp had a race condition bug. ## Version 4.6.0 _2020-04-28_
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
import okio.ByteString.Companion.encodeUtf8 /** * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is * intended for use in Internationalized Domain Names (IDNs). * * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes * direct translation of the pseudocode presented there. * * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
return exchange?.hasFailure == true && exchangeFinder!!.routePlanner.hasNext(exchange?.connection) } /** * Returns a string that describes this call. Doesn't include a full URL as that might contain * sensitive information. */ private fun toLoggableString(): String { return ( (if (isCanceled()) "canceled " else "") + (if (forWebSocket) "web socket" else "call") +
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
override val size: Int = 1 override fun get(index: Int) = Protocol.HTTP_1_1 override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
for (Certificate certificate : chain.connection().handshake().peerCertificates()) { String pin = CertificatePinner.pin(certificate); if (denylist.contains(pin)) { throw new IOException("Denylisted peer certificate: " + pin); } } return chain.proceed(chain.request()); } };
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
* to HTTP/1.1. */ var protocolNegotiationEnabled: Boolean = true /** * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list * must contain [Protocol.HTTP_1_1]. It must not contain null. * * This list is ignored when [negotiation is disabled][protocolNegotiationEnabled]. */ var protocols: List<Protocol> = immutableListOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* strictly ASCII. This is intended to make it efficient to encode this data as a string, and to * index into it as a string. * * The mappings data contains non-ASCII characters. */ internal class IdnaMappingTable internal constructor( val sections: String, val ranges: String, val mappings: String, ) { /**
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
val residentDuration = maxOf(0, nowMillis - receivedResponseMillis) return receivedAge + responseDuration + residentDuration } /** * Returns true if the request contains conditions that save the server from sending a response * that the client has locally. When a request is enqueued with its own conditions, the built-in * response cache won't be used. */
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0)