Module capability
Expand description
Protocol version compatibility and capability negotiation.
Structs§
- Version
Mismatch - Error returned when two peers’ protocol major versions differ.
Functions§
- check_
version - Accept the peer when the protocol major versions match.
- negotiate_
capabilities - Return the capabilities both peers advertise.
- negotiate_
max_ frame_ len - Return the maximum frame size two peers agree on.