getProtocols abstract method

Future<List<ProtocolID>> getProtocols(
  1. PeerId id
)

GetProtocols returns the protocols registered for the given peer.

Implementation

Future<List<ProtocolID>> getProtocols(PeerId id);