Upgrade hyper HTTP requests to WebSocket connections (server-side)
First, add this to your Cargo.toml
:
[dependencies.hyper-websocket]
git = "https://github.com/spinda/hyper-websocket"
Next, add this to your crate:
extern crate hyper_websocket;
use hyper_websocket;
Helpful resources:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.