Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for noContextTakeover (0.25 sec)

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

          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 =
        WebSocketReader(
          isClient = true,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            WebSocketWriter(
              isClient = streams.client,
              sink = streams.sink,
              random = random,
              perMessageDeflate = extensions.perMessageDeflate,
              noContextTakeover = extensions.noContextTakeover(streams.client),
              minimumDeflateSize = minimumDeflateSize,
            )
          this.writerTask = WriterTask()
          if (pingIntervalMillis != 0L) {
    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

     */
    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
      private var isFinalFrame = false
    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