You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/socket-io-integration-guide.mdx
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ description: Complete guide for integrating Socket.IO real-time communication wi
4
4
icon: plug
5
5
---
6
6
7
-
# Socket.IO Integration with Eliza - Complete Guide
8
-
9
7
## Overview
10
8
11
9
This guide explains how Socket.IO works in the Eliza NextJS starter and provides solutions for integrating external clients (like browser extensions) with the Eliza server.
@@ -118,7 +116,7 @@ const roomId = 'your-room-id'; // This should match the agent/channel ID
118
116
119
117
// 2. CRITICAL: Join the room when connected
120
118
socket.on('connect', function() {
121
-
console.log('✅ Connected to Eliza, socket ID:', socket.id);
119
+
console.log('[SUCCESS] Connected to Eliza, socket ID:', socket.id);
122
120
123
121
// JOIN THE ROOM - This is required to receive broadcasts!
0 commit comments