# Frontier::Daemon - receive Frontier XML RPC requests - perldoc - [phpMan]

## NAME
    [Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown) - receive Frontier XML RPC requests

## SYNOPSIS
     use [Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown);

     [Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown)->new(methods => {
         'rpcName' => \&sub_name,
            ...
         });

## DESCRIPTION
    *[Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown)* is an HTTP/1.1 server that listens on a socket for incoming requests
    containing Frontier XML RPC2 method calls. *[Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown)* is a subclass of *[HTTP::Daemon](https://www.chedong.com/phpMan.php/perldoc/HTTP%3A%3ADaemon/markdown)*,
    which is a subclass of *[IO::Socket::INET](https://www.chedong.com/phpMan.php/perldoc/IO%3A%3ASocket%3A%3AINET/markdown)*.

    *[Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown)* takes a `"methods"' parameter, a hash that maps an incoming RPC method name
    to reference to a subroutine.

    *[Frontier::Daemon](https://www.chedong.com/phpMan.php/perldoc/Frontier%3A%3ADaemon/markdown)* 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

## SEE ALSO
### perl

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

## AUTHOR
    Ken MacLeod <<ken@bitsko.slc.ut.us>>

