property

quic.QuicStream.headers

readonly headers: undefined | Dict<string | string[]>

The buffered initial headers received on this stream, or undefined if the application does not support headers or no headers have been received yet. For server-side streams, this contains the request headers (e.g., :method, :path, :scheme). For client-side streams, this contains the response headers (e.g., :status).

Header names are lowercase strings. Multi-value headers are represented as arrays. The object has __proto__: null.