Getting Started
Install the SDK:
npm install @edge-realtime/sdk
Connect:
import { connect } from "@edge-realtime/sdk";
const client = connect({ url: "wss://cdn.brlvpn.com/api/v2/realtime", token: process.env.TOKEN });
client.subscribe("orders.*", ev => console.log(ev));
See the API reference for framing, error codes, and quotas.