Alberto Attilio Reggiori

NAME

AMF::Connection::MessageBody - Encapsulates a request or response protocol packet/message body.

SYNOPSIS

  # ...

  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 );

  # ..

DESCRIPTION

The AMF::Connection::MessageBody class encapsulates a request or response protocol packet/message body.

SEE ALSO

AMF::Connection::Message

AUTHOR

Alberto Attilio Reggiori, <areggiori at cpan dot org>

COPYRIGHT AND LICENSE

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.