Skip to main content

Module handshake

Module handshake 

Source
Expand description

The client side of the handshake (packages/client connection.ts #handleMessage while connecting): the client sends hello; the server’s first message must be its hello for the expected server ID, or a hello_error.

Structs§

Connected
The server’s messages after its hello: a connection decodes the rest of the stream with decoder.

Enums§

HelloError

Functions§

client_hello
hello
read_hello
Wait on read for the server’s answer to a client hello already sent: its hello for server_id.