method WebSocketConnection.prototype.id
WebSocketConnection.prototype.id(): string

Unique connection ID (from runtime.uuid()).

Return Type

string

Usage

import { WebSocketConnection } from "websocket-plugin/src/index.ts";