Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for bytes (0.18 sec)

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

        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers[":authority"]).isEqualTo("privateobject.com")
      }
    
      private fun gzip(bytes: String): Buffer {
        val bytesOut = Buffer()
        val sink = GzipSink(bytesOut).buffer()
        sink.writeUtf8(bytes)
        sink.close()
        return bytesOut
      }
    
      internal inner class AsyncRequest(
        val path: String,
    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/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Sets minimum outbound web socket message size (in bytes) that will be compressed.
         *
         * Set to 0 to enable compression for all outbound messages.
         *
         * 1024 by default.
         */
        fun minWebSocketMessageToCompress(bytes: Long) =
          apply {
            require(bytes >= 0) {
              "minWebSocketMessageToCompress must be positive: $bytes"
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP
        response body begins with a [byte order mark][bom] it will be consumed and used to select a
        charset for the remaining bytes. Most applications should not need a byte order mark.
    
     *  New: Upgrade to Okio 1.11.0.
    
         ```xml
         <dependency>
           <groupId>com.squareup.okio</groupId>
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. kotlin-js-store/yarn.lock

      integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
    
    bytes@3.1.2:
      version "3.1.2"
      resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
      integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==
    
    call-bind@^1.0.0:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        }
        if (requestBodyBytes != null) {
          val responseBodyEnd: RequestBodyEnd = listener.removeUpToEvent<RequestBodyEnd>()
          MatcherAssert.assertThat(
            "request body bytes",
            responseBodyEnd.bytesWritten,
            requestBodyBytes,
          )
        } else {
          assertThat(listener.recordedEventTypes()).doesNotContain("RequestBodyEnd")
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * string `cute #puppies` is encoded as `cute%20%23puppies` when used as a query parameter value.
     *
     * ### Percent encoding
     *
     * Percent encoding replaces a character (like `\ud83c\udf69`) with its UTF-8 hex bytes (like
     * `%F0%9F%8D%A9`). This approach works for whitespace characters, control characters, non-ASCII
     * characters, and characters that already have another meaning in a particular context.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  7. okhttp/api/okhttp.api

    	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
    	public abstract fun contentType ()Lokhttp3/MediaType;
    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)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_RST_STREAM)
      }
    
      @Test fun writeTimesOutAwaitingConnectionWindow() {
        // Set the peer's receive window to 5 bytes. Give the stream 5 bytes back, so only the
        // connection-level window is applicable.
        val peerSettings = Settings().set(Settings.INITIAL_WINDOW_SIZE, 5)
    
        // Write the mocking script.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top