Expand description
Helpers for capability declaration and negotiation.
Re-exportsยง
use cfg_if::cfg_if;๐use tor_cell::relaycell::hs::intro_payload::IntroduceHandshakePayload;๐use tor_protover::Protocols;๐use crate::IntroRequestError;๐use std::sync::LazyLock;๐use tor_protover::NamedSubver;๐use tor_protover::named::*;๐
Staticsยง
- ADVERTISE_
FLOWCTRL ๐ - A set of protocols that we should advertise, if supported,
in our
flow-controlline. - 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.