ipfs-http-client
Version:
A client library for the IPFS HTTP API
15 lines (13 loc) • 318 B
JavaScript
// Response types are defined here:
// https://github.com/libp2p/go-libp2p-core/blob/6e566d10f4a5447317a66d64c7459954b969bdab/routing/query.go#L15-L24
module.exports = {
SendingQuery: 0,
PeerResponse: 1,
FinalPeer: 2,
QueryError: 3,
Provider: 4,
Value: 5,
AddingPeer: 6,
DialingPeer: 7
}