AMF::Connection::MessageBody - Encapsulates a request or response protocol packet/message body.
# ... my $request = new AMF::Connection::Message; my $body = new AMF::Connection::MessageBody; $body->setTarget('myService.myOperation); $body->setResponse('/1'); $body->setData( { 'param1' => 'value1', 'param2' => 'value2' } ); $request->setBody( $body ); # ..
The AMF::Connection::MessageBody class encapsulates a request or response protocol packet/message body.
AMF::Connection::Message
Alberto Attilio Reggiori, <areggiori at cpan dot org>
Copyright (C) 2010 by Alberto Attilio Reggiori
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install AMF::Connection, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AMF::Connection
CPAN shell
perl -MCPAN -e shell install AMF::Connection
For more information on module installation, please visit the detailed CPAN module installation guide.