addProtocols abstract method
AddProtocols adds the given protocols to the peer.
Implementation
void addProtocols(PeerId id, List<ProtocolID> protocols);
AddProtocols adds the given protocols to the peer.
void addProtocols(PeerId id, List<ProtocolID> protocols);