Crate libp2p_upnp

source ·
Expand description

Implementation of UPnP port mapping for libp2p.

This crate provides a tokio::Behaviour which implements the libp2p_swarm::NetworkBehaviour trait. This struct will automatically try to map the ports externally to internal addresses on the gateway.

Modules§

Enums§

  • Eventtokio
    The event produced by Behaviour.