Skip to main content

Module caps

Module caps 

Source
Expand description

Helpers for capability declaration and negotiation.

Staticsยง

ADVERTISE_FLOWCTRL ๐Ÿ”’
A set of protocols that we should advertise, if supported, in our flow-control line.
ADVERTIZABLE_PROTOCOLS ๐Ÿ”’
A set of protocols that we can advertise in our HS descriptor, if we support them.
REQUESTABLE ๐Ÿ”’
A set of protocols that can be requested via a subprotocol request extension.
REQUESTABLE_LIST ๐Ÿ”’
An array of protocols that can be requested via a subprotocol request extension.

Functionsยง

declared_flowctrl ๐Ÿ”’
Return the flow control information that we should include in our hsdesc.
declared_protocols ๐Ÿ”’
Return the list of protocols that we should advertise in our hsdesc.
negotiated_capabilities ๐Ÿ”’
Return a set of capabilities requested by the client in an INTRODUCE2 message payload.