The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XAS::Apps::Test::RPC::Server - This module is a 'rpc' server

SYNOPSIS

 use XAS::Apps::Test::RPC::Server;

 my $app = XAS::Apps::Test::RPC::Server->new(
     -throws => 'something',
     -options => [
         { 'port=s',    '9507' },
         { 'address=s', 'localhost' },
     ]
 );

 exit $app->run();

DESCRIPTION

This module provides a simple rpc server.

METHODS

new

This method will initialize the module and accepts these parameters.

-options

This specifies three options that may be on the command line. They are

    port    - the port to listen on.
    address - the address to bind too.

SEE ALSO

 sbin/rpc-server.pl

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

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.