logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Frontier::Daemon - receive Frontier XML RPC requests

Author

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

perl v5.32.0                                       2021-01-03                              Frontier::Daemon(3pm)

Description

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.

       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.

Name

       Frontier::Daemon - receive Frontier XML RPC requests

See Also

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

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

Synopsis

        use Frontier::Daemon;

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

See Also