core/event/addrs library
Address-related events for libp2p.
This is a port of the Go implementation from go-libp2p/core/event/addrs.go to Dart, using native Dart idioms.
Classes
- EvtLocalAddressesUpdated
- EvtLocalAddressesUpdated should be emitted when the set of listen addresses for the local host changes. This may happen for a number of reasons. For example, we may have opened a new relay connection, established a new NAT mapping via UPnP, or been informed of our observed address by another peer.
- UpdatedAddress
- UpdatedAddress is used in the EvtLocalAddressesUpdated event to convey address change information.
Enums
- AddrAction
- AddrAction represents an action taken on one of a Host's listen addresses. It is used to add context to address change events in EvtLocalAddressesUpdated.