Frontier::Daemon - receive Frontier XML RPC requests
use Frontier::Daemon; Frontier::Daemon->new(methods => { 'rpcName' => \&sub_name, ... });
Frontier::Daemon is an HTTP/1.1 server that listens on a socket for incoming requests containing Frontier XML RPC2 method calls. Frontier::Daemon is a subclass of HTTP::Daemon, which is a subclass of IO::Socket::INET.
Frontier::Daemon takes a `methods' parameter, a hash that maps an incoming RPC method name to reference to a subroutine.
methods
Frontier::Daemon takes a `use_objects' parameter that if set to a non-zero value will convert incoming <int>, <i4>, <float>, and <string> values to objects instead of scalars. See int(), float(), and string() in Frontier::RPC2 for more details.
use_objects
perl(1), HTTP::Daemon(3), IO::Socket::INET(3), Frontier::RPC2(3)
<http://www.scripting.com/frontier5/xml/code/rpc.html>
Ken MacLeod <ken@bitsko.slc.ut.us>
To install Apache::XMLRPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::XMLRPC
CPAN shell
perl -MCPAN -e shell install Apache::XMLRPC
For more information on module installation, please visit the detailed CPAN module installation guide.