Crate relay

Available on crate feature relay only.
Expand description

Implementation of libp2p circuit relay protocol.

Modules§

client
Everything related to the relay protocol from a client’s perspective.
inbound
Types related to the relay protocol inbound.
outbound
Types related to the relay protocol outbound.

Structs§

Behaviour
NetworkBehaviour implementation of the relay server functionality of the circuit relay v2 protocol.
CircuitId
Config
Configuration for the relay Behaviour.
RequestId
The ID of an outgoing / incoming, relay / destination request.

Enums§

Event
The events produced by the relay Behaviour.

Constants§

HOP_PROTOCOL_NAME
STOP_PROTOCOL_NAME

Traits§

RateLimiter
Allows rate limiting access to some resource based on the PeerId and Multiaddr of a remote peer.