import { type ServerSentEventInit } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?p=prototype.patch&s=ServerSentEventInit";
Properties
optional
id: number[src]An optional id
which will be sent with the event and exposed in the
client EventSource
.
optional
replacer: (string | number)[] | ((this: any,
key: string,
value: any,
The replacer is passed to JSON.stringify
when converting the data
property to a JSON string.
optional
space: string | number[src]Space is passed to JSON.stringify
when converting the data
property
to a JSON string.