Method Overview
Client
- realtime() — get the Realtime client
- channel() — create or reuse a channel
- getChannels() — list created channels
- removeChannel() — remove one channel
- removeAllChannels() — remove all channels and disconnect
- disconnect() — close the WebSocket
- connect() — connect manually
- isConnected() — whether the socket is open
Channel
- subscribe() — subscribe to a channel
- on() — listen for Broadcast / Presence / Postgres CDC
- send() — send a message
- httpSend() — send Broadcast over HTTP
- track() — publish presence
- untrack() — clear presence
- presenceState() — read the Presence snapshot
- unsubscribe() — leave the channel
- postgresChangesFilter() — build a CDC filter