tuweni / org.apache.tuweni.rlpx.wire / SubProtocol / supports

supports

abstract fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean (source)

Parameters

subProtocolIdentifier - the identifier of the subprotocol

Return
true if the subprotocol ID and version are supported, false otherwise