Skip to main content
Very Popular
Go to Latest
class AmqpConnection
implements AmqpConnection
import { AmqpConnection } from "https://deno.land/x/amqp@v0.23.1/mod.ts";

Constructors

new
AmqpConnection(socket: AmqpSocket, options: AmqpConnectionOptions)

Methods

Gracefully close this connection.

Returns a promise that is settled when this connection is closed.

If the connection is gracefully closed, the promise will resolve.

If the connection is unexpectedly closed by the server or from an error, the promise will reject with the reason.

Open this connection.

Creates and opens a new channel