libp2p v0.1.0 Libp2p.PubSub View Source

The libp2p daemon PubSub protocol allows clients to subscribe and publish to topics using libp2p PubSub.

Link to this section Summary

Functions

Clients can issue a GET_TOPICS request to get a list of topics the node is subscribed to.

Clients can issue a LIST_PEERS request to get a list of IDs of peers the node is connected to.

Clients can issue a PUBLISH request to publish data under a topic.

Clients can issue a SUBSCRIBE request to subscribe to a certain topic.

Link to this section Functions

Clients can issue a GET_TOPICS request to get a list of topics the node is subscribed to.

Clients can issue a LIST_PEERS request to get a list of IDs of peers the node is connected to.

Clients can issue a PUBLISH request to publish data under a topic.

Clients can issue a SUBSCRIBE request to subscribe to a certain topic.