close
abstract suspend fun close(reason: String = "", code: <Error class: unknown class>): 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.