Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.18 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.18 KB

Rust CI

Building

Note: For those using a newer version of Libc you may need to build a musl version without libc in order to run on machines with older versions of libc (I.E build on arch linux, deploying to Ubuntu 20). To do so you install the musl target and run cargo build --release --target <Target> (in the case of linux x86_64-unknown-linux-musl)

Getting into rooms

  • Creating a room
    • Send "NewRoom" as the first message when connecting
    • The WebSocket will respond with the following:
      • {"JoinRoom":"<ROOM-ID>"}
  • Joining an already existing room
    • Send {"JoinRoom":"<ROOM-ID>"} as the first message when connecting
  • Creating a room with a specific ID
    • Send {"JoinWithCode" "<ROOM-ID>"}

After rooms have been joined and created any messages sent by any client will be seen by all other clients in the room