Net::AMQP::Frame(3pm)
π Net::AMQP::Frame(3pm) π
okay bestie, welcome to the Net::AMQP::Frame(3pm) page β itβs giving User Contributed Perl Documentation, but make it cute β¨. This whole thing is about the AMQP wire-level Frame object, and weβre gonna go through it together π«Ά.
π NAME π
Net::AMQP::Frame β AMQP wire-level Frame object
π CLASS METHODS π
π new
Takes an arbitrary list of key/value pairs and casts it into this class. Nothing special here. Literally just key/value pairs doing their little thing, no secret sauce π .
π 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. So like, itβs trying to match you to the right subclass, and if it canβt, it croaks β no cap π.
π¦ OBJECT METHODS π¦
π Field accessors
Each subclass extends these accessors, but they share in common the following:
type_idchannelsizepayload
π§ parse_payload
Performs the parsing of the 'payload' binary data. Yes bestie, itβs parsing the binary payload π₯.
π
to_raw_payload
Returns the binary data that represents this frameβs payload. Itβs giving raw payload binary data, periodt π.
π to_raw_frame
Returns a raw binary string representing this frame on the wire. Literally the wire-ready raw binary string vibe β¨.
π type_string
Returns a string that uniquely represents this frame type, such as 'Method Basic.Consume', 'Header Basic' or 'Body'. Slay, unique frame-type string π.
π SEE ALSO π
Net::AMQP
π COPYRIGHT π
Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
π AUTHOR π
Eric Waters <ewaters@gmail.com>
π Thatβs the whole page, bestie! Source/version vibes: perl v5.42.0; date: 2016-11-28; manual: Net::AMQP::Frame(3pm). Byeeee π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-AMQP 0.06-bp160.1.4 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms