SYNOPSIS

 use Frontier::Daemon;

 Frontier::Daemon->new(methods => {
     'rpcName' => \&sub_name,
        ...
     });

DESCRIPTION

Frontier::Daemon is an \s-1HTTP/1\s0.1 server that listens on a socket for incoming requests containing Frontier \s-1XML\s0 \s-1RPC2\s0 method calls. Frontier::Daemon is a subclass of HTTP::Daemon, which is a subclass of IO::Socket::INET.

Frontier::Daemon takes a `\*(C`methods\*(C'' parameter, a hash that maps an incoming \s-1RPC\s0 method name to reference to a subroutine.

Frontier::Daemon takes a `\*(C`use_objects\*(C'' 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.

RELATED TO Frontier::Daemon…

perl\|(1), HTTP::Daemon\|(3), IO::Socket::INET\|(3), Frontier::RPC2\|(3)

<http://www.scripting.com/frontier5/xml/code/rpc.html>

AUTHOR

Ken MacLeod <[email protected]>