Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for requestBody (0.12 sec)

  1. okhttp/api/jvm/okhttp.api

    	public final fun create (Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody;
    	public final fun create (Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
    	public final fun create (Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    	public final fun create (Lokio/Path;Lokio/FileSystem;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    	public final fun create ([B)Lokhttp3/RequestBody;
    	public final fun create ([BLokhttp3/MediaType;)Lokhttp3/RequestBody;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      @Test
      fun requestBodySuccessStreaming() {
        val requestBody: RequestBody =
          object : RequestBody() {
            override fun contentType() = "text/plain".toMediaType()
    
            override fun writeTo(sink: BufferedSink) {
              sink.write(ByteArray(8192))
              sink.flush()
            }
          }
        requestBodySuccess(requestBody, CoreMatchers.equalTo(8192L), CoreMatchers.equalTo(19L))
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  3. okhttp/api/android/okhttp.api

    	public final fun create (Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody;
    	public final fun create (Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
    	public final fun create (Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    	public final fun create (Lokio/Path;Lokio/FileSystem;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    	public final fun create ([B)Lokhttp3/RequestBody;
    	public final fun create ([BLokhttp3/MediaType;)Lokhttp3/RequestBody;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingCookieJar
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.Response
    import okhttp3.Route
    import okhttp3.SimpleProvider
    import okhttp3.TestLogHandler
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.repeat
    import okhttp3.TestUtil.threadFactory
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

        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
        hand it off to another thread to write to it after `writeTo` returns.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top