interface ServerSentEventInit
implements EventInit
import { type ServerSentEventInit } from "https://deno.land/x/oak@v12.1.0/server_sent_event.ts";
Properties
An optional id
which will be sent with the event and exposed in the
client EventSource
.
The replacer is passed to JSON.stringify
when converting the data
property to a JSON string.