- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 131 for once (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
* * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md */ open fun isDuplex(): Boolean = commonIsDuplex() /** * Returns true if this body expects at most one call to [writeTo] and can be transmitted * at most once. This is typically used when writing the request body is destructive and it is not * possible to recreate the request body after it has been sent. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
return headersQueue.removeFirst() } throw errorException ?: StreamResetException(errorCode!!) } } /** * Returns the trailers. It is only safe to call this once the source stream has been completely * exhausted. */ @Throws(IOException::class) fun trailers(): Headers { this.withLock {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
builder.interceptors.toImmutableList() /** * Returns an immutable list of interceptors that observe a single network request and response. * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for * a network interceptor to short-circuit or repeat a network request. */ @get:JvmName("networkInterceptors") val networkInterceptors: List<Interceptor> =
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) -
docs/changelogs/changelog_3x.md
* Fix: Don't leak a connection when a call is canceled immediately preceding the `onFailure()` callback. * Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events. Once the streams are established no further timeout is enforced. * Fix: Retain the `Route` when a connection is reused on a redirect or other follow-up. This was
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/cache/DiskLruCacheTest.kt
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 // with missing cache files, it should remove it from the cache entirely. assertThat(cache.size()).isEqualTo(4) assertThat(cache["a"]).isNull() assertThat(cache.size()).isEqualTo(2)
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/HpackTest.kt
checkEntry(entry1, "custom-bar", "custom-header", 55) val entry2 = hpackReader!!.dynamicTable[readerHeaderTableLength() - 2]!! checkEntry(entry2, "custom-baz", "custom-header", 55) // Once a header field is decoded and added to the reconstructed header // list, it cannot be removed from it. Hence, foo is here. assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(headerBlock)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
CHANGELOG.md
* New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type parameter only, like `request.tag<MyTagClass>()`. * New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new `mockwebserver3` package, there's a new field, `MockResponse.informationalResponses`. * Fix: Don't interpret trailers as headers after an HTTP/100 response. This was a bug only when
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE) } } /** * Settings we receive from the peer. Changes to the field are guarded by this. The instance is * never mutated once it has been assigned. */ var peerSettings = DEFAULT_SETTINGS /** The bytes consumed and acknowledged by the application. */ val readBytes: WindowCounter = WindowCounter(streamId = 0)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* space-sensitive applications should set a conservative limit. * * Clients call [edit] to create or update the values of an entry. An entry may have only one editor * at one time; if a value is not available to be edited then [edit] will return null. * * * When an entry is being **created** it is necessary to supply a full set of values; the empty
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt
/** * A unit of work that can be executed one or more times. * * Recurrence * ---------- * * Tasks control their recurrence schedule. The [runOnce] function returns -1L to signify that the * task should not be executed again. Otherwise it returns a delay until the next execution. * * A task has at most one next execution. If the same task instance is scheduled multiple times, the
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0)