323cbf6d45662e2451260e733c8db4727d0a99ec
room-rs
ENV:
PASS=pass ./target/debug/room-rs
Slash commands:
- /exit - close current websocket
- /statics - show statics
- /pass <pass> - set pass
- /rooms - show rooms
- /room <room id> - show room clients
- /version - show version[admin]
- /time - show time
Message format
Enter room:
{
"type": "Enter",
"roomId": "<roomid>",
"clientId": "<clientid>"
}
Exit room:
{
"type": "Exit"
}
Destroy room:
{
"type": "Destroy"
}
List room peers:
{
"type": "ListPeers"
}
Broadcast room message:
{
"type": "Broadcast",
"data": "<message>"
}
Send room peer message:
{
"type": "Peer",
"peerId": "<peerclientid>",
"data": "<message>"
}
Languages
Rust
99%
Just
1%