- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Records (0.16 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
dispatcher.enqueueResponse( MockResponse.Builder() .bodyDelay(10, TimeUnit.SECONDS) .body("abc") .build(), ) dispatcher.enqueueResponse( MockResponse.Builder() .bodyDelay(10, TimeUnit.SECONDS) .body("def") .build(), ) dispatcher.enqueueResponse( MockResponse(body = "ghi"), )
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) -
docs/changelogs/changelog_3x.md
* New: Honor the `Retry-After` response header. HTTP 503 (Unavailable) responses are retried automatically if this header is present and its delay is 0 seconds. HTTP 408 (Client Timeout) responses are retried automatically if the header is absent or its delay is 0 seconds. * New: Allow request bodies for all HTTP methods except GET and HEAD. * New: Automatic module name of `okhttp3` for use with the Java Platform Module System.
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/main/kotlin/okhttp3/OkHttpClient.kt
@get:JvmName("connectTimeoutMillis") val connectTimeoutMillis: Int = builder.connectTimeout /** Default read timeout (in milliseconds). The default is 10 seconds. */ @get:JvmName("readTimeoutMillis") val readTimeoutMillis: Int = builder.readTimeout /** Default write timeout (in milliseconds). The default is 10 seconds. */ @get:JvmName("writeTimeoutMillis")
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) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
"ResponseBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun failedCallEventSequence() { server.enqueue( MockResponse.Builder() .headersDelay(2, TimeUnit.SECONDS) .build(), ) client = client.newBuilder() .readTimeout(Duration.ofMillis(250)) .build() val call = client.newCall( Request.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
taskFaker.runNextTask() assertThat(cache.remove("a")).isTrue() assertAbsent("a") cache.close() createNewCache() // The journal will have no record that 'a' was removed. It will have an entry for 'a', but when // it tries to read the cache files, it will find they were deleted. Once it encounters an entry
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) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
connection.writePingAndAwaitPong() val elapsedNanos = System.nanoTime() - pingAtNanos assertThat(elapsedNanos).isGreaterThan(0L) assertThat(elapsedNanos).isLessThan(TimeUnit.SECONDS.toNanos(1)) // Verify the peer received what was expected. val pingFrame = peer.takeFrame() assertThat(pingFrame.type).isEqualTo(Http2.TYPE_PING) assertThat(pingFrame.streamId).isEqualTo(0)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)