Skip to content

SSEMessage

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

Server-Sent Event message format.

Property Type Description Defined in

data

string

The data payload of the event.

src/util/types.ts:300

event?

string

Optional event type.

src/util/types.ts:304

id?

string

Optional event ID.

src/util/types.ts:308

retry?

number

Optional reconnection time in milliseconds.

src/util/types.ts:312