Diarkis Server Template - Creating A Room From HTTP Server

Diarkis Server Template has a sample implementation that allows you to create an empty from via Diarkis HTTP server.

Creating A New Room Via Diarkis HTTP Server

You may create an empty room from Diarkis HTTP server.

POST /room/create/:serverType/:maxMembers/:ttl/:interval


  • serverType is to choose which server to create a new room in. Valid types are: udp, tcp, and ws (WebSocket).

  • maxMembers is a maximum client members allowed in the new room.

  • ttl is a TTL value for the empty room to be kept. TTL is in seconds.

  • interval is an interval of room broadcast in milliseconds. The room will buffer broadcast message on every interval.

Last updated