Skip to main content

Module negotiate

Module negotiate 

Source
Expand description

Version and capability negotiation.

Negotiation is an exchange during connection establishment, not a long-lived control stream (master doc §13, §11). Both sides run this same function against their own and the peer’s HELLO, so both reach the same verdict without a round trip.

Structs§

Agreed
The negotiated parameters of a connection.

Enums§

NegotiateError
Why negotiation failed.

Functions§

negotiate
Negotiates a connection from the two HELLO headers.