Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for frameHeader (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

              ),
            )
          }
          frameHeader(
            streamId = streamId,
            length = 4,
            type = TYPE_WINDOW_UPDATE,
            flags = FLAG_NONE,
          )
          sink.writeInt(windowSizeIncrement.toInt())
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun frameHeader(
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE)
      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
        assertFailsWith<IllegalArgumentException> {
          var streamId = 3
          streamId = streamId or (1L shl 31).toInt() // set reserved bit
          writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top