Realtime
WebSockets (Socket.IO)
For the documentation web app, SDK examples, and dashboard engineers — same protocol. Not in OpenAPI. Server: sockets/, server.js (Socket.IO on API origin, path /socket.io/).
Note
Dashboard copy-paste patterns: Dashboard recipes.
Table of contents
- Connection & security
- Rooms
- Client → server emits
- Server → client events
- Org & project
- Database
- Integrations
- Wallets & blockchain
- Presence
- Chat & messaging
- Calls (signaling)
- Custom channels
- Auth-related socket events
- Errors & limits
Use-case map
| Use case | Primary events |
|---|---|
| Docs: “Live table” | subscribe:project, db:create/update/delete |
| Docs: “Live schema” | subscribe:collection, db:collection_* |
| Dashboard: project list | project:* on dashboard scope room |
| Dashboard: integration tester | integration:join, integration:execute, integration:test |
| Dashboard: wallet monitor | wallet:subscribe:project, wallet:tx:*, wallet:balance:updated |
| App: chat | chat:join, message:send, message:new |
| App: collaborative UI | custom:broadcast, custom:typing |
Last aligned with mudbase-backend socket handlers; extend when new emits are added.