1Data::AMF::Message(3) User Contributed Perl DocumentationData::AMF::Message(3)
2
3
4

NAME

6       Data::AMF::Message - AMF Message class
7

SYNOPSIS

9           use Data::AMF::Packet;
10
11           # get message
12           my $packet   = Data::AMF::Packet->deserialize($amf_packet);
13           my $messages = $packet->messages;
14
15           # do something about it
16           my $first_request = $messages->[0];
17
18           # and return response
19           my $response = $first_request->result($perl_object_you_want_to_return);
20

DESCRIPTION

22       Data::AMF::Message is an object class for AMF Packet Message.
23

SEE ALSO

25       Data::AMF::Packet, Catalyst::Controller::FlashRemoting
26

METHODS

28   new
29       Create new Data::AMF::Message object.
30
31   result($result)
32       Return normal response AMF Message object against current request of
33       AMF Message.
34
35   error($error)
36       Return error response AMF Message object against current request of AMF
37       Message.
38

AUTHOR

40       Daisuke Murase <typester@cpan.org>
41
43       This program is free software; you can redistribute it and/or modify it
44       under the same terms as Perl itself.
45
46       The full text of the license can be found in the LICENSE file included
47       with this module.
48
49
50
51perl v5.36.0                      2023-01-20             Data::AMF::Message(3)
Impressum