Options
All
  • Public
  • Public/Protected
  • All
Menu

A data item or comment in a Server-Sent Events stream, for TestHttpHandlers.sseStream.

Hierarchy

  • SSEItem

Index

Properties

comment?: string

A comment string to be sent instead of an event (":" will be prepended).

data?: string

The event data ("data:" field). This must be defined unless comment is provided.

id?: string

The event ID ("id:" field).

type?: string

The event type ("event:" field).

Generated using TypeDoc