amqpx v5.3.2 Amqpx.Channel

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()

t() :: %Amqpx.Channel{conn: Amqpx.Connection.t(), pid: pid()}

Link to this section Functions

Link to this function

close(channel)

close(Amqpx.Channel.t()) :: :ok | {:error, Amqpx.Basic.error()}

Closes an open Channel.

Link to this function

open(conn)

open(Amqpx.Connection.t()) :: {:ok, Amqpx.Channel.t()} | {:error, any()}

Opens a new Channel in a previously opened Connection.

Link to this function

open(conn, consumer_pid)

open(Amqpx.Connection.t(), pid()) :: {:ok, Amqpx.Channel.t()} | {:error, any()}