System - Interface to basic system function.
my $system = System->new(); my $pong = $system->rpc_ping(); my $version = $system->rpc_version(); my $methods = $system->rpc_list_methods();
Returns the string 'pong'.
Returns a struct:
{software_version => 'X.YZ'}
Returns a struct for all protocols with all endpoints and functions for that endpoint.
(c) MMXVII - Abe Timmerman <abeltje@cpan.org>
To install Dancer::Plugin::RPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::RPC
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::RPC
For more information on module installation, please visit the detailed CPAN module installation guide.