interface oak.ServerSentEventInit
implements EventInit
import { type oak } from "https://deno.land/x/hex@0.5.15/src/service/deps.ts";
const { ServerSentEventInit } = oak;
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.