Options
All
  • Public
  • Public/Protected
  • All
Menu

@collabs/ws-server

@collabs/ws-server

Part of the Collabs library. Main package: @collabs/collabs.

@collabs/ws-server contains WebSocketNetworkServer. It listens to connections from @collabs/ws-client clients and syncs updates between them. You can also configure it to store updates persistently and to authenticate clients.

This package also provides the collabs-ws-server command. It starts a WebSocketNetworkServer on $PORT (default: 3001) and $HOST (default: localhost) with in-memory storage and no authentication. This is useful for getting started with a Collabs app; see our app template for an example.

Docs

Providers overview

API

Generated using TypeDoc