Data::AMF::Packet(3) serialize / deserialize AMF message packet

SYNOPSIS


use Data::AMF::Packet

my $packet = Data::AMF::Packet->deserialize($data);
my $data = $packet->serialize;

DESCRIPTION

Data::AMF::Packet provides to serialize/deserialize AMF Packet.

AMF Packet is an extended format of AMF, and is used for Flash's HTTP based Remote Procidure Call (known as Flash Remoting).

METHODS

serialize

Serialize Data::AMF::Packet object into AMF Packet data.

deserialize($amf_packet)

Deserialize AMF Packet, and return Data::AMF::Packet object.

ACCESSORS

version

return AMF Packet version.

headers

return AMF Packet header objects. (ArrayRef of Data::AMF::Header)

messages

return AMF Packet Message objects. (ArrayRef of Data::AMF::Message)

AUTHOR

Daisuke Murase <[email protected]>

COPYRIGHT

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.