Skip to main content

Module connection

Module connection 

Source

Structsยง

Connection

Constantsยง

MAX_NOISE_HANDSHAKE_SIZE ๐Ÿ”’

Functionsยง

handshake ๐Ÿ”’
Perform a noise handshake as initiator with the remote party.
on_handshake ๐Ÿ”’
Perform a noise handshake as responder with a remote party.
recv_frame ๐Ÿ”’
Read a single frame (header + payload) from the remote.
remote_static_key ๐Ÿ”’
select_version ๐Ÿ”’
Select a version from the range that both sides support.
send_frame ๐Ÿ”’
Write a single frame (header + payload) to the remote.
try_connect ๐Ÿ”’

Type Aliasesยง

Prologue ๐Ÿ”’
Result ๐Ÿ”’