Websockets (Beta)
WebSockets Connection Test
Basic Setup
const WebSocket = require("ws");
const channelName = "ChatRoomChannel"; // Use required channel name
const socket = new WebSocket("wss://app.circle.so/cable", {
headers: {
Origin: "https://your-whitelisted-domain.com",
Authorization: "Bearer HEADLESS_MEMBER_ACCESS_TOKEN"
}
});Event Handling
1. Connection Open
2. Receiving Messages
3. Error Handling
4. Connection Close
Complete Implementation
Run Test
Notifications
Chat
chat-room-channel-#{community_member.id}
Channel details:
Events:
chat-room-#{chat_room.id}-channel
Channel details:
Events:
chat-community-member-#{community_member_id}-threads-channel
Channel details:
Last updated

