property

quic.CreateStreamOptions.headers

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

Initial request or response headers to send. Only used when the session supports headers (e.g. HTTP/3). If body is not specified and headers is provided, the stream is treated as headers-only (terminal).