# get message
my $packet = Data::AMF::Packet->deserialize($amf_packet);
my $messages = $packet->messages;
# do something about it
my $first_request = $messages->;
# and return response
my $response = $first_request->result($perl_object_you_want_to_return);
DESCRIPTIONData::AMF::Message is an object class for AMF Packet Message.
newCreate new Data::AMF::Message object.
result($result)Return normal response AMF Message object against current request of AMF Message.
error($error)Return error response AMF Message object against current request of AMF Message.
AUTHORDaisuke Murase <[email protected]>
COPYRIGHTThis 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.