4 releases
Uses old Rust 2015
0.2.2 | Aug 8, 2017 |
---|---|
0.2.1 | Aug 8, 2017 |
0.2.0 | Jul 22, 2017 |
0.1.0 | Jul 21, 2017 |
#414 in #websocket
10KB
148 lines
websocket-server
Boilerplate to effortlessly setup an asynchronous websocket server.
This code was originally written for my game shootr, but it is general enough to be in it's own crate. Keep in mind that it is designed primarely to be used by myself, so it's not documented that well. Feel free to open an issue if you have any questions :)
In the mean time, you can see a comprehensive example in the aforementioned game.
Most of this is just boilerplate around the async parts of the websocket crate, so check them out as well!
Dependencies
~11MB
~206K SLoC