tuweni / org.apache.tuweni.rlpx.wire / DefaultWireConnection / disconnect
disconnect
fun disconnect(reason: DisconnectReason): Unit
(source)
Sends a message to the peer explaining that we are about to disconnect.
Parameters
reason
- the reason for disconnection