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 - String!: the identifier of the connection to target

reason - DisconnectReason!: the reason for disconnection