Module soketto::handshake::http

source ·
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§

  • Websocket handshake server. This is similar to handshake::Server, but it is focused on performing the WebSocket handshake using a provided http::Request, as opposed to decoding the request internally.

Functions§

Type Aliases§