pamqp.body
The pamqp.body module contains the Body class which is used when
unmarshaling body frames. When dealing with content frames, the message body
will be returned from the library as an instance of the body class.
-
class pamqp.body.ContentBody(value=None)[source]
ContentBody carries the value for an AMQP message body frame
-
marshal()[source]
Return the marshaled content body. This method is here for API
compatibility, there is no special marhsaling for the payload in a
content frame.
Return type: | str|unicode|bytes |
-
unmarshal(data)[source]
Apply the data to the object. This method is here for API
compatibility, there is no special unmarhsaling for the payload in a
content frame.
Return type: | str|unicode|bytes |