ServerSentEventParseStreamOptions

import { ServerSentEventParseStreamOptions } from "jsr:@ende/http";

interface

interface ServerSentEventParseStreamOptions

Options for ServerSentEventParseStream.

Properties

ignoreComments

ignoreComments?: boolean

Whether to ignore comment lines (lines starting with :).

Comments are often used as keep-alive signals and may not be needed by the consumer. When true, comment lines are still parsed to detect message boundaries but are not included in the output.

Default: false

Source