Module handshake

Source
Expand description

Module containing simple convenience handshake functions such as greeting()

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