Skip to content

SSEMessage

Defined in: src/util/types.ts:297

Server-Sent Event message format.

Property Type Description Defined in

data

string

The data payload of the event.

src/util/types.ts:301

event?

string

Optional event type.

src/util/types.ts:305

id?

string

Optional event ID.

src/util/types.ts:309

retry?

number

Optional reconnection time in milliseconds.

src/util/types.ts:313