AMQP Header Class Definitions
For encoding AMQP Header frames into binary AMQP stream data and decoding AMQP binary data into AMQP Header frames.
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.
Dynamically decode the frame data applying the values to the method object by iterating through the attributes in order and decoding them.
Parameters: | data (str) – The binary encoded method data |
---|---|
Return type: | int byte count of data used to unmarshal the frame |
Raises : | ValueError |
Class that represents the AMQP Protocol Header
Return the full AMQP wire protocol frame data representation of the ProtocolHeader frame.
Return type: | str or bytes |
---|
Dynamically decode the frame data applying the values to the method object by iterating through the attributes in order and decoding them.
Parameters: | data (str) – The binary encoded method data |
---|---|
Return type: | int byte count of data used to unmarshal the frame |
Raises : | ValueError |