libp2p::relay::client

Function new

pub fn new(local_peer_id: PeerId) -> (Transport, Behaviour)
Available on crate feature relay only.
Expand description

Create a new client relay Behaviour with it’s corresponding Transport.