pamqp.header¶
AMQP Header Class Definitions
For encoding AMQP Header frames into binary AMQP stream data and decoding AMQP binary data into AMQP Header frames.
- class
pamqp.header.
ProtocolHeader
(major_version=0, minor_version=9, revision=1)[source]¶ Class that represents the AMQP Protocol Header
- class
pamqp.header.
ContentHeader
(weight=0, body_size=0, properties=None)[source]¶ Represent a content header frame
A Content Header frame is received after a Basic.Deliver or Basic.GetOk frame and has the data and properties for the Content Body frames that follow.
- Parameters
weight (
int
) –body_size (
int
) –properties (
typing.Optional
[pamqp.commands.Basic.Properties
]) –