property RealtimeArm.websocket

Options for WebSocketPlugin. Present → the plugin is registered.

On Node and Bun a WebSocket upgrade needs a real listening server, so the plugin registers with available: false under app.inject(); the same application code is correct on Deno and Cloudflare Workers.

Type

WebSocketPluginOptions

Usage

import { type RealtimeArm } from "starters/full-stack-starter/src/index.ts";