rlpx / org.apache.tuweni.rlpx / RLPxService / disconnect

disconnect

abstract fun disconnect(connectionId: String, reason: DisconnectReason): Unit (source)

Sends a message to the peer explaining that we are about to disconnect.

Parameters

connectionId - the identifier of the connection to target

reason - the reason for disconnection