Expand description
This module somewhat mirrors crate::handshake::server, except it’s focus is on working
with http::Request and http::Response types, making it easier to integrate with
external web servers such as Hyper.
See examples/hyper_server.rs from this crate’s repository for example usage.
Structs§
- Server
- Websocket handshake server. This is similar to
handshake::Server, but it is focused on performing the WebSocket handshake using a providedhttp::Request, as opposed to decoding the request internally.
Functions§
- is_
upgrade_ request - Check if an
http::Requestlooks like a valid websocket upgrade request.
Type Aliases§
- Error
- A re-export of
handshake::Error.