#websocket #server #async

websocket-server

Boilerplate to effortlessly setup an asynchronous websocket server

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

#91 in WebSocket

Download history 3/week @ 2022-03-06 17/week @ 2022-03-13 14/week @ 2022-03-20 1/week @ 2022-03-27 3/week @ 2022-04-03 2/week @ 2022-04-10 3/week @ 2022-04-17 18/week @ 2022-04-24 21/week @ 2022-05-01 35/week @ 2022-05-08 69/week @ 2022-05-15 22/week @ 2022-05-22 43/week @ 2022-05-29 21/week @ 2022-06-05 5/week @ 2022-06-12 7/week @ 2022-06-19

81 downloads per month

MIT license

9KB
148 lines

websocket-server

Travis Coveralls Crates.io Docs.rs
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

~9.5MB
~198K SLoC