2021-05-14 23:48:38 +08:00
2021-05-17 23:31:13 +08:00
2021-05-13 23:42:46 +08:00
2021-05-17 23:10:07 +08:00
2021-05-17 23:10:07 +08:00
2021-05-13 23:51:06 +08:00
2021-05-17 23:15:48 +08:00

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>"
}
Description
No description provided
Readme 298 KiB
Languages
Rust 99%
Just 1%