9 breaking releases

0.10.0 Jul 15, 2024
0.9.0 Mar 9, 2024
0.8.0 Nov 14, 2023
0.6.0 Mar 31, 2023
0.1.1 Sep 13, 2021

#3 in #signaling-server

Download history 30/week @ 2024-03-31 8/week @ 2024-04-07 7/week @ 2024-04-21 2/week @ 2024-04-28 8/week @ 2024-05-19 13/week @ 2024-06-02 2/week @ 2024-06-09 2/week @ 2024-06-16 145/week @ 2024-07-14

146 downloads per month

MIT/Apache

85KB
1.5K SLoC

Signaling Server

A lightweight signaling server with some opinions, to work with all examples.

Next rooms

This signaling server supports a rudimentary form of matchmaking. By appending ?next=3 to the room id, the next three players to join will be connected, and then the next three players will be connected separately to the first three.

You can also use the room id for scoping what kind of players you want to match. i.e.: wss://match.example.com/awesome_game_v1.1.0_pvp?next=2

Run

cargo run

Dependencies

~18MB
~305K SLoC