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

supports

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

Returns true if the connection supports the subprotocol

Parameters

subProtocolIdentifier - SubProtocolIdentifier!: the subprotocol identifier

Return
Boolean: true if the subprotocol is supported