Module handshake

Source
Expand description

WebSocket handshake helpers

Functions§

greeting
Simple greeting handshake where supplied closure receives the first message from the client and should return Ok(()) to proceed or Error to abort the connection.

Type Aliases§

HandshakeFn
Handshake closure function type for greeting() handshake