This document is for py-amqp's development version, which can be significantly different from previous releases. Get the stable docs here: 5.3.

# `amqp.protocol`

Protocol data.

class amqp.protocol.basic_return_t(reply_code, reply_text, exchange, routing_key, message)
  exchange

    Alias for field number 2

  message

    Alias for field number 4

  reply_code

    Alias for field number 0

  reply_text

    Alias for field number 1

  routing_key

    Alias for field number 3

class amqp.protocol.queue_declare_ok_t(queue, message_count, consumer_count)
  consumer_count

    Alias for field number 2

  message_count

    Alias for field number 1

  queue

    Alias for field number 0