logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::AMQP::Frame - AMQP wire-level Frame object

Author

       Eric Waters <ewaters@gmail.com>

perl v5.34.0                                       2022-06-18                              Net::AMQP::Frame(3pm)

Class Methods

new
       Takes an arbitrary list of key/value pairs and casts it into this class.  Nothing special here.

   factory
         Net::AMQP::Frame->factory(
           type_id => 1,
           channel => 1,
           payload => '',
         );

       Will attempt to identify a Net::AMQP::Frame subclass for further parsing, and will croak on failure.
       Returns a Net::AMQP::Frame subclass object.

Name

       Net::AMQP::Frame - AMQP wire-level Frame object

Object Methods

Fieldaccessors
       Each subclass extends these accessors, but they share in common the following:

       type_idchannelsizepayloadparse_payload
       Performs the parsing of the 'payload' binary data.

   to_raw_payload
       Returns the binary data the represents this frame's payload.

   to_raw_frame
       Returns a raw binary string representing this frame on the wire.

   type_string
       Returns a string that uniquely represents this frame type, such as 'Method Basic.Consume', 'Header Basic'
       or 'Body'

See Also

       Net::AMQP

See Also