Understanding the relationship between Servers, Channels, and Real-time data.
The top-level container. Servers represent isolated communities. Every server requires a unique slug and an owner. Access is restricted via the server_user membership table.
Sub-divided rooms within a server. Channels hold the message history and define the Broadcasting Scope. Every server initializes with a default #general channel.
The atomic unit of WireCode. Messages are broadcasted via Laravel Reverb over private websockets, ensuring that only verified members receive the data stream.
| Component | Logic |
|---|---|
| Identity | Uses HashIDs for public URLs while maintaining slug integrity for database indexing. |
| Security | Gate-checked via server_user pivot table. Unauthorized websocket requests are rejected by the broadcast driver. |
| Navigation | Powered by wire:navigate to preserve sidebar state during 2K layout transitions. |
We use cookies to improve your experience on WireCord. By continuing, you agree to our use of cookies.
Read our Cookie Transparency statement