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

XMLRPC::Lite - client and server implementation of XML-RPC protocol

Author

       Paul Kulchenko (paulclinger@yahoo.com)

perl v5.36.0                                       2022-10-14                                  XMLRPC::Lite(3pm)

Credits

       The XML-RPC standard is Copyright (c) 1998-2001, UserLand Software, Inc.  See <http://www.xmlrpc.com> for
       more information about the XML-RPC specification.

Dependencies

        SOAP::Lite

Description

       XMLRPC::Lite  is  a  Perl modules which provides a simple nterface to the XML-RPC protocol both on client
       and server side. Based on SOAP::Lite module, it gives you access to all features and transports available
       in that module.

       See t/26-xmlrpc.t for client examples and examples/XMLRPC/* for server implementations.

Name

       XMLRPC::Lite - client and server implementation of XML-RPC protocol

See Also

        SOAP::Lite

Synopsis

       Client
             use XMLRPC::Lite;
             print XMLRPC::Lite
                 -> proxy('http://betty.userland.com/RPC2')
                 -> call('examples.getStateStruct', {state1 => 12, state2 => 28})
                 -> result;

       CGI server
             use XMLRPC::Transport::HTTP;

             my $server = XMLRPC::Transport::HTTP::CGI
               -> dispatch_to('methodName')
               -> handle
             ;

       Daemon server
             use XMLRPC::Transport::HTTP;

             my $daemon = XMLRPC::Transport::HTTP::Daemon
               -> new (LocalPort => 80)
               -> dispatch_to('methodName')
             ;
             print "Contact to XMLRPC server at ", $daemon->url, "\n";
             $daemon->handle;

See Also