XAS::Apps::Test::RPC::Client - This module will make calls to the RPC server
use XAS::Constants 'TRUE FALSE'; use XAS::Apps::Test::RPC::Client; my $app = XAS::Apps::Test::RPC::Client->new(; -throws => 'something', -options => [ {'port=s', '9505'}, {'host=s', 'localhost'}, {'list', FALSE}, {'status', FALSE}, {'echo=s', ''} ] ); exit $app->run();
This module will make calls to the rpc server.
The following parameters are used to configure the module.
Defines the command line options for this module.
The host the echo server resides on.
The port it is listening on.
The message to be "echoed" back.
This will list the available methods on the rpc server.
This will list the status of the rpc server.
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.