Skip to content

Http2DataFrame

Http2DataFrame = object

Defined in: packages/format-http/src/h2/http2-frame.ts:9

A DATA frame. Its payload comes inline, copied out of the receive buffer, so a slow reader of one stream never holds the connection’s buffer.

readonly data: Uint8Array

Defined in: packages/format-http/src/h2/http2-frame.ts:13


readonly endStream: boolean

Defined in: packages/format-http/src/h2/http2-frame.ts:12


readonly optional flowLength?: number

Defined in: packages/format-http/src/h2/http2-frame.ts:19

Octets the frame counts against flow control: its whole payload, padding included (RFC 9113 §6.9.1). Decoded frames only.


readonly streamId: number

Defined in: packages/format-http/src/h2/http2-frame.ts:11


readonly type: "data"

Defined in: packages/format-http/src/h2/http2-frame.ts:10