A libp2p transport is understood as something that offers a dial and listen interface to establish connections.

Hierarchy

  • Transport

Properties

[symbol]: true

Used by the isTransport function

[toStringTag]: string

Used to identify the transport

createListener: ((options: CreateListenerOptions) => Listener)

Type declaration

dial: ((ma: Multiaddr, options: DialOptions) => Promise<Connection>)

Type declaration

Takes a list of Multiaddrs and returns only valid addresses for the transport