Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janhohenheim/websocket-server
Boilerplate to effortlessly setup an asynchronous websocket server
https://github.com/janhohenheim/websocket-server
async rust server websocket
Last synced: 8 days ago
JSON representation
Boilerplate to effortlessly setup an asynchronous websocket server
- Host: GitHub
- URL: https://github.com/janhohenheim/websocket-server
- Owner: janhohenheim
- License: mit
- Created: 2017-07-21T08:00:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T11:45:14.000Z (about 7 years ago)
- Last Synced: 2024-10-09T07:41:30.945Z (29 days ago)
- Topics: async, rust, server, websocket
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# websocket-server
[![Travis](https://img.shields.io/travis/SirRade/websocket-server.svg)](https://travis-ci.org/SirRade/websocket-server) [![Coveralls](https://img.shields.io/coveralls/SirRade/websocket-server.svg)](https://coveralls.io/github/SirRade/websocket-server) [![Crates.io](https://img.shields.io/crates/v/websocket-server.svg)](https://crates.io/crates/websocket-server) [![Docs.rs](https://docs.rs/websocket-server/badge.svg)](https://docs.rs/websocket-server)
Boilerplate to effortlessly setup an asynchronous websocket server.This code was originally written for my game [shootr](https://github.com/SirRade/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](https://github.com/SirRade/shootr/blob/master/core/src/main.rs) in the aforementioned game.Most of this is just boilerplate around the async parts of the [websocket crate](https://github.com/cyderize/rust-websocket), so check them out as well!