setProtocols abstract method
SetProtocols sets the protocols for the given peer (replacing any previously stored protocols).
Implementation
Future<void> setProtocols(PeerId id, List<ProtocolID> protocols);
SetProtocols sets the protocols for the given peer (replacing any previously stored protocols).
Future<void> setProtocols(PeerId id, List<ProtocolID> protocols);