- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for creation (3.61 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
setUp(parameters.first, parameters.second) var creator = cache.edit("k1")!! creator.setString(0, "ABC") creator.setString(1, "DE") creator.commit() cache.flush() filesystem.copy(journalFile, journalBkpFile) creator = cache.edit("k2")!! creator.setString(0, "F") creator.setString(1, "GH") creator.commit() cache.close()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
_2018-11-16_ * **OkHttp now supports TLS 1.3.** This requires either Conscrypt or Java 11+. * **Proxy authenticators are now asked for preemptive authentication.** OkHttp will now request authentication credentials before creating TLS tunnels through HTTP proxies (HTTP `CONNECT`). Authenticators should identify preemptive authentications by the presence of a challenge whose scheme is "OkHttp-Preemptive".
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response1).isEqualTo("") assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) // Now make the second request which will restrict the first HTTP/2 connection from creating new // streams. client.newCall(request).enqueue(callback) val response2 = responses.take() assertThat(response2).isEqualTo("DEF") assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* your HTTP calls. This is because each client holds its own connection pool and thread pools. * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client * for each request wastes resources on idle pools. * * Use `new OkHttpClient()` to create a shared instance with the default settings: * * ```java * // The singleton HTTP client.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0)