Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
etc/ | H | 06-Jan-2021 | - | 783 | 304 | |
ex/ | H | 06-Jan-2021 | - | 145 | 120 | |
lib/ | H | 06-Jan-2021 | - | 11,521 | 4,522 | |
methods/ | H | 06-Jan-2021 | - | 474 | 410 | |
t/ | H | 03-May-2022 | - | 6,653 | 4,914 | |
xt/ | H | 06-Jan-2021 | - | 105 | 70 | |
ChangeLog | H A D | 06-Jan-2021 | 64.1 KiB | 1,921 | 1,586 | |
ChangeLog.xml | H A D | 06-Jan-2021 | 120.5 KiB | 3,022 | 3,020 | |
MANIFEST | H A D | 06-Jan-2021 | 3.2 KiB | 96 | 95 | |
META.json | H A D | 06-Jan-2021 | 1.7 KiB | 72 | 71 | |
META.yml | H A D | 06-Jan-2021 | 1,001 | 42 | 41 | |
Makefile.PL | H A D | 06-Jan-2021 | 4.1 KiB | 164 | 127 | |
README | H A D | 06-Jan-2021 | 2.2 KiB | 87 | 58 | |
README.apache2 | H A D | 05-Apr-2010 | 528 | 13 | 9 | |
perlcritic.rc | H A D | 06-Jan-2021 | 52.2 KiB | 1,460 | 1,083 |
README
1RPC::XML - An implementation of XML-RPC 2 3Version: 0.82 4 5WHAT IS IT 6 7The RPC::XML package is an implementation of XML-RPC. The module provides 8classes for sample client and server implementations, a server designed as an 9Apache location-handler, and a suite of data-manipulation classes that are 10used by them. 11 12 13USING RPC::XML 14 15There are not any pre-packaged executables in this distribution (except for a 16utility tool). Client usage will usually be along the lines of: 17 18 use RPC::XML::Client; 19 ... 20 my $client = RPC::XML::Client->new( 21 'http://www.oreillynet.com/meerkat/xml-rpc/server.php' ); 22 my $req = RPC::XML::request->new('meerkat.getChannelsBySubstring', 'perl'); 23 my $res = $client->send_request($req); 24 # This returns an object of the RPC::XML::response class. This double-call 25 # of value() first gets a RPC::XML::* data object from the response, then 26 # the actual data from it: 27 my $value = $res->value->value; 28 29Running a simple server is not much more involved: 30 31 use RPC::XML::Server; 32 ... 33 my $srv = RPC::XML::Server->new( host => 'localhost', 34 port => 9000 ); 35 # You would then use $srv->add_method to add some remotely-callable code 36 ... 37 $srv->accept_loop; # Stays in an accept/connect loop 38 39 40BUILDING/INSTALLING 41 42This package is set up to configure and build like a typical Perl extension. 43To build: 44 45 perl Makefile.PL 46 make && make test 47 48If RPC::XML passes all tests, then: 49 50 make install 51 52You may need super-user access to install. 53 54 55PROBLEMS/BUG REPORTS 56 57Please send any reports of problems or bugs to rjray@blackperl.com or use 58the GitHub Issues page for this project: 59 60 https://github.com/rjray/rpc-xml/issues 61 62 63SEE ALSO 64 65XML-RPC: http://www.xmlrpc.com/spec 66The Artistic 2.0: http://www.opensource.org/licenses/artistic-license-2.0.php 67The LGPL 2.1: http://www.opensource.org/licenses/lgpl-2.1.php 68 69 70CHANGES 71 72* Makefile.PL 73* lib/RPC/XML/Server.pm 74Bump version numbers. 75 76* Makefile.PL 77* lib/RPC/XML/Server.pm 78* t/40_server.t 79* t/40_server_xmllibxml.t 80* t/41_server_hang.t 81* t/60_net_server.t 82* t/util.pl 83RT #120472: Applied patch from Petr Písař for fixes to IPv6 84support. Full detail in the message for this commit in the git 85repository. 86 87
README.apache2
1Note: 2 3At present, this package does not work with Apache2 and the soon-to-be 4mod_perl2. The changes to the API for location handlers are too drastic to 5try and support both within the same class (I tried, using the compatibility 6layer). Also, mp2 does not currently provide support for <Perl> sections, which 7are the real strength of the Apache::RPC::Server class. 8 9As time permits, and the Apache2/mod_perl2 API develops, I intend to have 10versions of both Apache::RPC::Server and Apache::RPC::Status for that platform. 11 12Randy 13