Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hello realtime (beginner)

Connect over WebSocket and send a single text message. The simplest end-to-end realtime flow.

What this example does

  1. Authenticate with your app credentials

  2. Open a WebSocket and complete the handshake

  3. Send "Hello from DNotifier!" to another user id

  4. Log any incoming messages on onMessage

Prerequisites

Run with two terminals

Use two different userId values (e.g. user-alice and user-bob). Start both clients, then send from one β€” the other receives on onMessage.

Language guides

Next steps

Last updated