Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for perMessageDeflate (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

          source = data,
          frameCallback = callback.asFrameCallback(),
          perMessageDeflate = false,
          noContextTakeover = false,
        )
      private val serverReaderWithCompression =
        WebSocketReader(
          isClient = false,
          source = data,
          frameCallback = callback.asFrameCallback(),
          perMessageDeflate = true,
          noContextTakeover = false,
        )
      private val clientReader =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          this.streams = streams
          this.writer =
            WebSocketWriter(
              isClient = streams.client,
              sink = streams.sink,
              random = random,
              perMessageDeflate = extensions.perMessageDeflate,
              noContextTakeover = extensions.noContextTakeover(streams.client),
              minimumDeflateSize = minimumDeflateSize,
            )
          this.writerTask = WriterTask()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

     *
     * [rfc_6455]: http://tools.ietf.org/html/rfc6455
     */
    class WebSocketReader(
      private val isClient: Boolean,
      val source: BufferedSource,
      private val frameCallback: FrameCallback,
      private val perMessageDeflate: Boolean,
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private var closed = false
    
      // Stateful data about the current frame.
      private var opcode = 0
      private var frameLength = 0L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top