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.- Circuit
Id - Config
- Configuration for the relay
Behaviour
. - Request
Id - The ID of an outgoing / incoming, relay / destination request.
Enums§
- Event
- The events produced by the relay
Behaviour
.
Constants§
Traits§
- Rate
Limiter - Allows rate limiting access to some resource based on the
PeerId
andMultiaddr
of a remote peer.