Implements

Constructors

Properties

dhtOperations?: DHTOperations
libp2p: Libp2p<{
    dht: KadDHT;
    pubsub: GossipSub;
}>

Type declaration

listener: Listener
multiaddr: Multiaddr
pubsubOperations?: PubSubOperations
tcp: Transport<ProgressEvent<any, unknown>>

Methods

  • Listens for process exit to handle cleanup

    Returns void

  • Sends inbound requests for the given protocol to the unix socket path provided. If an existing handler is registered at the path, it will be overridden.

    Parameters

    Returns Promise<void>