Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byteStream (0.11 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(MockResponse())
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
        assertThat(response.body.byteStream().read()).isEqualTo(-1)
        response.body.close()
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun noDefaultContentLengthOnStreamingPost(
        protocol: Protocol,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    }
    
    public abstract class okhttp3/ResponseBody : java/io/Closeable {
    	public static final field Companion Lokhttp3/ResponseBody$Companion;
    	public fun <init> ()V
    	public final fun byteStream ()Ljava/io/InputStream;
    	public final fun byteString ()Lokio/ByteString;
    	public final fun bytes ()[B
    	public final fun charStream ()Ljava/io/Reader;
    	public fun close ()V
    	public abstract fun contentLength ()J
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top