The main client class that wraps all the services.
new
Client(transport: T)
T extends ITransport
Get access to the dht service which is used for distributed hash table communication.
readonly
filetransfer: FileTransfer
Get access to the filetransfer service which is used for file transfer.
Get access to the gossipsub service which is used for pubsub communication.
Get access to the reqresp service which is used for request response communication. The functionally is similar to http.