- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for notes (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
* * Requires org.conscrypt:conscrypt-openjdk-uber >= 2.1.0 on the classpath. */ class ConscryptPlatform private constructor() : Platform() { private val provider: Provider = Conscrypt.newProvider() // See release notes https://groups.google.com/forum/#!forum/conscrypt // for version differences override fun newSSLContext(): SSLContext = // supports TLSv1.3 by default (version api is >= 1.4.0) SSLContext.getInstance("TLS", provider)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Callback.kt
* response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP * response code like 404 or 500. */
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) -
okhttp/src/main/kotlin/okhttp3/OkHttp.kt
* custom builds of OkHttp please include a qualifier your version name, like "4.7.0-mycompany.3". * The version string is configured in the root project's `build.gradle`. * * Note that OkHttp's runtime version may be different from the version specified in your * project's build file due to the dependency resolution features of your build tool. * * [semver]: https://semver.org */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.6K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
val ca: Boolean, /** The maximum number of intermediate CAs between this and leaf certificates. */ val maxIntermediateCas: Long?, ) /** A private key. Note that this class doesn't support attributes or an embedded public key. */ internal data class PrivateKeyInfo( // v1(0), v2(1). val version: Long, val algorithmIdentifier: AlgorithmIdentifier,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
val end = 1 shl shift node.children!!.fill(terminal, start, start + end) } private class Node { /** Null if terminal. */ val children: Array<Node?>? /** Terminal nodes have a symbol. */ val symbol: Int /** Number of bits represented in the terminal node. */ val terminalBitCount: Int /** Construct an internal node. */ constructor() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
containing an IP address we must match that address against the URL's IP address, even when the two addresses are encoded differently, such as `192.168.1.1` and `0::0:0:FFFF:C0A8:101`. Note that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no point were invalid certificates accepted.
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/platform/Platform.kt
return try { // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all // platforms in order to support Robolectric, which mixes classes from both Android and the // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric. val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
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-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
// with MD5 or 512-bit RSA; that's insecure! // // openssl req \ // -x509 \ // -md5 \ // -nodes \ // -days 1 \ // -newkey rsa:512 \ // -keyout privateKey.key \ // -out certificate.crt val certificatePem = """ |-----BEGIN CERTIFICATE-----
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
} } } /** * Prepare for a potential trip through all of this call's network interceptors. This prepares to * find an exchange to carry the request. * * Note that an exchange will not be needed if the request is satisfied by the cache. * * @param newRoutePlanner true if this is not a retry and new routing can be performed. */ fun enterNetworkInterceptorExchange(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
testServerClosesOutput(ShutdownInputAtEnd) } @Test fun serverShutdownOutput() { testServerClosesOutput(ShutdownOutputAtEnd) } @Test fun invalidHost() { // Note that 1234.1.1.1 is an invalid host in a URI, but URL isn't as strict. client = client.newBuilder() .dns(FakeDns()) .build() assertFailsWith<UnknownHostException> { getResponse(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0)