class SSEStreamTarget
implements ServerSentEventTarget
extends EventTarget
import { SSEStreamTarget } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/server_sent_event.ts?s=SSEStreamTarget";
Constructors
new
SSEStreamTarget(context: Context, unnamed 1?: ServerSentEventTargetOptions)[src]Properties
readonly
closed: boolean[src]Methods
dispatchComment(comment: string): boolean[src]
dispatchEvent(event: ServerSentEvent): boolean[src]
dispatchEvent(event: CloseEvent | ErrorEvent): boolean[src]
dispatchMessage(data: any): boolean[src]
[Symbol.for("Deno.customInspect")](inspect: (value: unknown) => string)[src]
[Symbol.for("nodejs.util.inspect.custom")]()[src]
depth: number,
options: any,
inspect: (value: unknown, options?: unknown) => string,