method SseConnection.prototype.comment
SseConnection.prototype.comment(text: string): void

Enqueue a plain-text comment frame.

Parameters

text: string

Return Type

void

Usage

import { SseConnection } from "sse-plugin/src/index.ts";