toip.tools

API reference · Node only

@toip-tools/relay

8 public exports.

TypeScriptModule import
import { MAX_MESSAGE_BYTES, MAX_QUEUED_PER_RECIPIENT, QUEUE_TTL_MS } from "@toip-tools/relay";

Functions

  • startRelay

    Opens a SQLite-backed WebSocket mailbox at `/v1` and starts listening for authenticated clients.

Interfaces

Constants

Signatures and source documentation are generated from packages/relay/src/server.ts.