close

open suspend override fun close(reason: String, code: UShort): AMQPResponse.Connection.Closed

Closes the connection.

Return

Nothing. The connection is closed synchronously.

Parameters

reason

Reason that can be logged by the broker.

code

Code that can be logged by the broker.