Catalyst-Controller-FlashRemoting

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/FlashRemoting.pm  view on Meta::CPAN

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
    }
 
=head1 DESCRIPTION
 
Catalyst::Controller::FlashRemoting is a Catalyst controller that provide easy interface for Flash Remoting.
 
Flash Remoting is RPC subsystem and that use AMF (Action Message Format) as message body format.
 
=head1 USAGE
 
At first, you need api gateway (endpoint) controller. Add AMFGateway attribute to catalyst action for that.
 
    sub gateway :Local :AMFGateway { }
 
If you write above code in Root controller, then 'http://localhost:3000/gateway' is AMF Gateway url.
 
To use this gateway, write actionscript3 like this:
 
    var nc:NecConnection = new NetConnection();
    nc.connect("http://localhost:3000/gateway");



( run in 0.338 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )