1Frontier::Daemon(3) User Contributed Perl Documentation Frontier::Daemon(3)
2
3
4
6 Frontier::Daemon - receive Frontier XML RPC requests
7
9 use Frontier::Daemon;
10
11 Frontier::Daemon->new(methods => {
12 'rpcName' => \&sub_name,
13 ...
14 });
15
17 Frontier::Daemon is an HTTP/1.1 server that listens on a socket for
18 incoming requests containing Frontier XML RPC2 method calls.
19 Frontier::Daemon is a subclass of HTTP::Daemon, which is a subclass of
20 IO::Socket::INET.
21
22 Frontier::Daemon takes a `"methods"' parameter, a hash that maps an
23 incoming RPC method name to reference to a subroutine.
24
25 Frontier::Daemon takes a `"use_objects"' parameter that if set to a
26 non-zero value will convert incoming <int>, <i4>, <float>, and <string>
27 values to objects instead of scalars. See int(), float(), and string()
28 in Frontier::RPC2 for more details.
29
31 perl(1), HTTP::Daemon(3), IO::Socket::INET(3), Frontier::RPC2(3)
32
33 <http://www.scripting.com/frontier5/xml/code/rpc.html>
34
36 Ken MacLeod <ken@bitsko.slc.ut.us>
37
38
39
40perl v5.30.1 2020-01-30 Frontier::Daemon(3)