StreamData Type

Per-stream bookkeeping inside an HTTP/2 connection.

Record fields

Record Field Description

bodyBuffer

Full Usage: bodyBuffer

Field type: MemoryStream

Bytes received via DATA frames (final body once END_STREAM seen).

Field type: MemoryStream

dispatched

Full Usage: dispatched

Field type: bool
Modifiers: mutable

True once the request has been dispatched to the webpart so we don't double-dispatch on a trailing HEADERS block.

Field type: bool

endStreamReceived

Full Usage: endStreamReceived

Field type: bool
Modifiers: mutable

True once END_STREAM has been seen (request body is complete).

Field type: bool

inboundWindow

Full Usage: inboundWindow

Field type: FlowControlWindow

Receive window: octets WE may still receive on this stream.

Field type: FlowControlWindow

outboundWindow

Full Usage: outboundWindow

Field type: FlowControlWindow

Send window: octets WE may still send on this stream.

Field type: FlowControlWindow

requestHeaders

Full Usage: requestHeaders

Field type: (string * string) list
Modifiers: mutable

Decoded request headers (built when the opening header block completes).

Field type: (string * string) list

state

Full Usage: state

Field type: StreamState
Modifiers: mutable
Field type: StreamState

trailers

Full Usage: trailers

Field type: (string * string) list
Modifiers: mutable

Trailing headers (set when a trailing HEADERS block completes).

Field type: (string * string) list