method WebSocketConnection.prototype.isOpen
WebSocketConnection.prototype.isOpen(): boolean

Whether the connection is still writable.

Return Type

boolean

Usage

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