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

supports

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

Returns true if the subprotocol supports a sub protocol ID.

Parameters

subProtocolIdentifier - SubProtocolIdentifier!: the identifier of the subprotocol

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