- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for APIs (0.12 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
* * Supported on OpenJDK 9+ via SSLParameters and SSLSocket features. * * ### Trust Manager Extraction * * Supported on Android 2.3+ and OpenJDK 7+. There are no public APIs to recover the trust * manager that was used to create an [SSLSocketFactory]. * * Not supported by choice on JDK9+ due to access checks. * * ### Android Cleartext Permit Detection *
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/src/test/java/okhttp3/RequestTest.kt
assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("616263") assertThat(bodyToHex(body), "Retransmit body").isEqualTo("616263") } /** Common verbs used for apis such as GitHub, AWS, and Google Cloud. */ @Test fun crudVerbs() { val contentType = "application/json".toMediaType() val body = "{}".toRequestBody(contentType)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
okhttp-android/README.md
OkHttp Android ============== Enhanced APIs for using OkHttp on Android. At the moment, this will mostly likely only be useful for fastFallback. Download -------- ```kotlin implementation("com.squareup.okhttp3:okhttp-android:4.12.0")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 242 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.http.RecordingProxySelector import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 7.7K bytes - Viewed (0) -
build.gradle.kts
toolVersion = rootProject.libs.versions.checkStyle.get() sourceSets = listOf(project.sourceSets["main"]) } // Animal Sniffer confirms we generally don't use APIs not on Java 8. configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck" sourceSets = listOf(project.sourceSets["main"]) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
/** True if the agreed upon extensions includes the permessage-deflate extension. */ @JvmField val perMessageDeflate: Boolean = false, /** Should be a value in [8..15]. Only 15 is acceptable by OkHttp as Java APIs are limited. */ @JvmField val clientMaxWindowBits: Int? = null, /** True if the agreed upon extension parameters includes "client_no_context_takeover". */ @JvmField val clientNoContextTakeover: Boolean = false,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.1K bytes - Viewed (0) -
CHANGELOG.md
`MockWebServer` and the `UPGRADE_TO_SSL_AT_END` socket option. (Only APIs on `mockwebserver3` are changed; the old `okhttp3.mockwebserver` APIs remain as they always have been. ## Version 5.0.0-alpha.7 _2022-04-26_ **This release introduces new Kotlin-friendly APIs.** When we migrated OkHttp from Java to Kotlin in OkHttp 4.0, we kept our Java-first APIs. With 5.0 we're continuing to support Java and adding
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
return if (address is InetSocketAddress) address.hostName else address.toString() } /** * Returns true if new reads and writes should be attempted on this. * * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by * attempting to read with a short timeout. If the fails immediately we know the socket is * unhealthy. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.X509TrustManager import okhttp3.internal.platform.Platform /** * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs. * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each * certificate is signed by the certificate that follows, and the last certificate is a trusted CA * certificate. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt
* of the experimental API. * * Do not use these APIs in modules that may be executed using a version of OkHttp different from * the version the module was compiled with. * * Do not use these APIs in published libraries. * * Do not use these APIs if you aren't willing to track changes to them. */ @MustBeDocumented @Retention(value = AnnotationRetention.BINARY)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.6K bytes - Viewed (0)