interface ServerSentEventInit
implements EventInit
Deprecated
Deprecated
(will be removed in 0.209.0) Use ServerSentEventStream
from https://deno.land/std/http/server_sent_event_stream.ts instead.
import { type ServerSentEventInit } from "https://deno.land/std@0.208.0/http/unstable_server_sent_event.ts";
Properties
Optional arbitrary data to send to the client, data this is a string will
be sent unmodified, otherwise JSON.parse()
will be used to serialize the
value.