API reference · Node only
@toip-tools/relay
8 public exports.
import { MAX_MESSAGE_BYTES, MAX_QUEUED_PER_RECIPIENT, QUEUE_TTL_MS } from "@toip-tools/relay";
Functions
-
startRelayOpens a SQLite-backed WebSocket mailbox at `/v1` and starts listening for authenticated clients.
Interfaces
-
Relay -
RelayLimits -
RelayOptions -
StoredMessageWhat the relay learns about one message it stores.
Constants
Signatures and source documentation are generated from packages/relay/src/server.ts.