amqp v1.4.2 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(t()) :: :ok | {:error, AMQP.Basic.error()}

Closes an open Channel.

Link to this function

open(conn)

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

Opens a new Channel in a previously opened Connection.