Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for frameLog (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 3, 0, TYPE_DATA, FLAG_END_STREAM))
          .isEqualTo(">> 0x00000003     0 DATA          END_STREAM")
        assertThat(frameLog(true, 0, 15, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo("<< 0x00000000    15 SETTINGS      ")
        assertThat(frameLog(false, 0, 0, TYPE_SETTINGS, FLAG_ACK))
          .isEqualTo(">> 0x00000000     0 SETTINGS      ACK")
        assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, FLAG_ACK))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

       *
       * For example, the following would indicate a HEAD request sent from the client.
       * ```
       * `<< 0x0000000f    12 HEADERS       END_HEADERS|END_STREAM
       * ```
       */
      fun frameLog(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ): String {
        val formattedType = formattedType(type)
        val formattedFlags = formatFlags(type, flags)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top