MojoX::Dispatcher::Qooxdoo::Jsonrpc is a Perl module that dispatches incoming RPC requests from a qooxdoo application to your services and renders a (hopefully) valid JSON reply.
SYNOPSIS
# lib/your-application.pm
use base 'Mojolicious';
use RpcService;
sub startup {
my $self = shift;
# instantiate all services
my $services= {
Test => RpcService->new(),
};
# add a route to the Qooxdoo dispatcher and route to it
my $r = $self->routes;
$r->route('/qooxdoo') -> to(
'Jsonrpc#dispatch',
services => $services,
debug => 0,
namespace => 'MojoX::Dispatcher::Qooxdoo'
);
}
Product's homepage
Requirements:
· Perl