- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for completado (0.15 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
super.close() complete(null) } catch (e: IOException) { throw complete(e) } } private fun <E : IOException?> complete(e: E): E { if (completed) return e completed = true return bodyComplete(bytesReceived, responseDone = false, requestDone = true, e = e) } } /** A response body that fires events when it completes. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.2K bytes - Viewed (2) -
samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt
System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f) try { call.execute().use { response -> System.out.printf( "%.2f Call was expected to fail, but completed: %s%n", (System.nanoTime() - startNanos) / 1e9f, response, ) } } catch (e: IOException) { System.out.printf( "%.2f Call failed as expected: %s%n",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Connection.kt
* When the maximum concurrent streams limit is reduced, some allocations will be rescinded. * Attempting to create new streams on these allocations will fail. * * Note that an allocation may be released before its stream is completed. This is intended to make * bookkeeping easier for the caller: releasing the allocation as soon as the terminal stream has * been found. But only complete the stream once its data stream has been exhausted. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
* Regression test for an edge case where closing response body in the HTTP engine doesn't release * the corresponding stream allocation. This test keeps those response bodies alive and reads * them after the redirect has completed. This forces a connection to not be reused where it would * be otherwise. * * * This test leaks a response body by not closing it. * * https://github.com/square/okhttp/issues/2409 */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
source: Source?, ) { val actual = source!!.buffer().readUtf8() assertThat(actual).isEqualTo(expected) } /** * Returns true when all work currently in progress by the watchdog have completed. This method * creates more work for the watchdog and waits for that work to be executed. When it is, we know * work that preceded this call is complete. */ private fun awaitWatchdogIdle() {
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)