- GET / - This page
- GET /session[?id=<id>][&secret=<secret>][&keepAlive=str][&reconnect=true|false] {Upgrade} - WebSocket connection for the host. id is an optional parameter useful when you want to reconnect to the same session or determine the session id yourself. If ommitted a session ID will be generated. If given together with a secret the server will try to connect to an existing session and take it over. If keepAlive is present "str" is sent to the host every 30s to make sure the connection is kept alive. reconnect is true by default which means a session is kept running for 2 minutes even after the host disconnects so that they can reconnect. If disabled the session will be killed instantly instead.
- GET /session/:id[?keepAlive=str][&client=<uuid>] {Upgrade} - WebSocket connection for clients. Any messages sent to this socket will be relayed to the host which connected through /session to the session with the given ID. If keepAlive is present "str" is sent to the client every 30s to make sure the connection is kept alive.