Skip to content

Websockets Entrypoint ​

Filepath: src/entrypoints/wss.ts

This entrypoint exposes a WebSocket server for real-time communication between clients and the server.

Usage ​

INFO

Normally, you will never need to edit this file.

The WebSocket server is already configured to accept subscribes and unsubscribes from frontend clients.

It forwards all messages that are being sent to the NATS broker.

Running locally ​

bash
pnpm start:dev wss