- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for extract (1.34 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
@RunWith(RobolectricTestRunner::class) class AndroidAsyncDnsTest { @Test fun testDnsRequestInvalid() { val asyncDns = AndroidAsyncDns.IPv4 val shadowDns: ShadowDnsResolver = Shadow.extract(asyncDns.resolver) shadowDns.responder = { throw IllegalArgumentException("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.") } val dns = AsyncDns.toDns(asyncDns)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 22 20:07:09 GMT 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
* certificate. * * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate * pinning. */ abstract class CertificateChainCleaner { @Throws(SSLPeerUnverifiedException::class) abstract fun clean( chain: List<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-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt
* limitations under the License. */ package okhttp3.testing @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) /** * Annotation marking a test as flaky, and requires extra logging and linking against * a known github issue. This does not ignore the failure. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 902 bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} return if (cookies != null) { Collections.unmodifiableList(cookies) } else { emptyList() } } /** * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles * multiple cookies in a single request header, which [Cookie.parse] doesn't support. */ private fun decodeHeaderAsJavaNetCookies( url: HttpUrl, header: String, ): List<Cookie> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
mkdocs.yml
scheme: slate primary: teal accent: blue toggle: icon: octicons/moon-24 name: "Switch to Light Mode" features: - navigation.tabs extra_css: - 'assets/css/app.css' markdown_extensions: - smarty - footnotes - meta - toc: permalink: true - attr_list - pymdownx.betterem: smart_enable: all - pymdownx.caret
Others - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 3.8K bytes - Viewed (0) -
docs/features/connections.md
### [Routes](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-route/) Routes supply the **dynamic** information necessary to actually connect to a webserver. This is the specific IP address to attempt (as discovered by a DNS query), the exact proxy server to use (if a [ProxySelector](https://developer.android.com/reference/java/net/ProxySelector.html) is in use), and which version of TLS to negotiate (for HTTPS connections).
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Feb 21 03:33:59 GMT 2022 - 5.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* * **This feature is not supported on Android API levels less than 24.** Prior releases lacked * a mechanism to trust some hosts and not others. * * @param hostname the exact hostname from the URL for insecure connections. */ fun addInsecureHost(hostname: String) = apply { insecureHosts += hostname } fun build(): HandshakeCertificates {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.5K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt
} if (component[toAndFromUri!!] != codePointString) { fail("Encoding $component $codePoint using $encoding") } return } // Check that the URI and HttpURL have the exact same escaping. if (toAndFromUri != httpUrl) { fail("Encoding $component $codePoint using $encoding") } if (uri.toString() != httpUrl.toString()) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
} @Test fun binarySearchEmptyRange() { assertEquals(-1, binarySearch(0, 0) { error("unexpected call") }) } /** Confirm the compact table has the exact same behavior as the plain table. */ @Test fun comparePlainAndCompactTables() { val buffer = Buffer() for (codePoint in 0..0x10ffff) { val allowedByTable = table.map(codePoint, buffer)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/security/tls_configuration_history.md
* **NEW:** TLSv1.3 * TLSv1.2 * TLSv1.1 * TLSv1 ##### COMPATIBLE_TLS versions * TLSv1 [OkHttp 3.11][OkHttp311] ------------------------ _2018-07-12_ Added a new extra strict RESTRICTED_TLS configuration inspired by [Google Cloud’s similar policy][googlecloud_ssl_policy]. It is appropriate when both the host platform (JVM/Conscrypt/Android) and target webserver are current.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 9K bytes - Viewed (0)