- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Available (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() } // This explicit check avoids activating in Android Studio with Android specific classes // available when running plugins inside the IDE. val isAndroid: Boolean get() = "Dalvik" == System.getProperty("java.vm.name") private val isConscryptPreferred: Boolean get() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
if (requestBody != null) { // Request body headers are only present when installed as a network interceptor. When not // already present, force them to be included (if available) so their values are known. requestBody.contentType()?.let { if (headers["Content-Type"] == null) { logger.log("Content-Type: $it") } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
_2020-08-06_ * Fix: Don't crash in `HeldCertificate.Builder` when creating certificates on older versions of Android, including Android 6. We were using a feature of `SimpleDateFormat` that wasn't available in those versions! ## Version 4.8.0 _2020-07-11_ * New: Change `HeldCertificate.Builder` to use its own ASN.1 certificate encoder. This is part
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
.protocol(statusLine.protocol) .code(statusLine.code) .message(statusLine.message) .headers(headersReader.readHeaders()) .trailers { error("trailers not available") } return when { expectContinue && statusLine.code == HTTP_CONTINUE -> { null } statusLine.code == HTTP_CONTINUE -> { state = STATE_READ_RESPONSE_HEADERS
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
) } /** * Returns a copy of this connection with the next connection spec to try, or null if no other * compatible connection specs are available. */ internal fun nextConnectionSpec( connectionSpecs: List<ConnectionSpec>, sslSocket: SSLSocket, ): ConnectPlan? { for (i in connectionSpecIndex + 1 until connectionSpecs.size) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
ProviderInstaller.installIfNeeded(InstrumentationRegistry.getInstrumentation().targetContext) } catch (gpsnae: GooglePlayServicesNotAvailableException) { throw TestAbortedException("Google Play Services not available", gpsnae) } val clientCertificates = HandshakeCertificates.Builder() .addPlatformTrustedCertificates() .addInsecureHost(server.hostName) .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
localhostIpv6 = inetAddresses.firstOrNull { it is Inet6Address } ?: throw TestAbortedException() serverIpv4 = MockWebServer() serverIpv4.start(localhostIpv4, 0) // Pick any available port. serverIpv6 = MockWebServer() serverIpv6.start(localhostIpv6, serverIpv4.port) // Pick the same port as the IPv4 server. dnsResults = listOf( localhostIpv4, localhostIpv6,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ) { } /** * Invoked when a connection attempt fails. This failure is not terminal if further routes are * available and failure recovery is enabled. * * If the `call` uses HTTPS, this will be invoked after [secureConnectStart], otherwise it will * invoked after [connectStart]. */ open fun connectFailed(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
*/ @JvmField val FORCE_NETWORK = commonForceNetwork() /** * Cache control request directives that uses the cache only, even if the cached response is * stale. If the response isn't available in the cache or requires server validation, the call * will fail with a `504 Unsatisfiable Request`. */ @JvmField val FORCE_CACHE = commonForceCache() /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* .build()) * .url("http://publicobject.com/helloworld.txt") * .build(); * ``` * * ## Force a Cache Response * * Sometimes you'll want to show resources if they are available immediately, but not otherwise. * This can be used so your application can show *something* while waiting for the latest data to be * downloaded. To restrict a request to locally-cached resources, add the `only-if-cached`
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0)