amqp v1.2.1 AMQP.Channel View Source

Functions to operate on Channels.

Link to this section Summary

Functions

Closes an open Channel.

Opens a new Channel in a previously opened Connection.

Link to this section Types

Link to this type

t() View Source
t() :: %AMQP.Channel{conn: AMQP.Connection.t(), pid: pid()}

Link to this section Functions

Link to this function

close(channel) View Source
close(AMQP.Channel.t()) :: :ok | {:error, AMQP.Basic.error()}

Closes an open Channel.

Link to this function

open(conn) View Source
open(AMQP.Connection.t()) :: {:ok, AMQP.Channel.t()} | {:error, any()}

Opens a new Channel in a previously opened Connection.