Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byteStream (0.17 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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top