- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for isDuplex (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
delay: Long, timeUnit: TimeUnit, ) : RequestBody() { private val delayMillis = timeUnit.toMillis(delay) override fun contentType() = delegate.contentType() override fun isDuplex() = true override fun writeTo(sink: BufferedSink) { executorService.schedule({ try { delegate.writeTo(sink) sink.close() } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
simultaneously. This can be used to implement interactive conversations within a single HTTP call. Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true. This simple option dramatically changes the behavior of the request body and of the entire call. The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
var requestBody: RequestBody = object : RequestBody() { override fun contentType(): MediaType? = TODO() override fun contentLength(): Long = TODO() override fun isDuplex(): Boolean = TODO() override fun isOneShot(): Boolean = TODO() override fun writeTo(sink: BufferedSink) = TODO() } requestBody = "".toRequestBody(null)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public static final fun create ([BLokhttp3/MediaType;I)Lokhttp3/RequestBody; public static final fun create ([BLokhttp3/MediaType;II)Lokhttp3/RequestBody; public fun isDuplex ()Z public fun isOneShot ()Z public abstract fun writeTo (Lokio/BufferedSink;)V } public final class okhttp3/RequestBody$Companion {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public static final fun create ([BLokhttp3/MediaType;I)Lokhttp3/RequestBody; public static final fun create ([BLokhttp3/MediaType;II)Lokhttp3/RequestBody; public fun isDuplex ()Z public fun isOneShot ()Z public abstract fun writeTo (Lokio/BufferedSink;)V } public final class okhttp3/RequestBody$Companion {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)