Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isDuplex (0.05 seconds)

  1. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  2. 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 final fun sha256 ()Lokio/ByteString;
    	public abstract fun writeTo (Lokio/BufferedSink;)V
    }
    
    public final class okhttp3/RequestBody$Companion {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  3. 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 final fun sha256 ()Lokio/ByteString;
    	public abstract fun writeTo (Lokio/BufferedSink;)V
    }
    
    public final class okhttp3/RequestBody$Companion {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
Back to Top