XMLRPC::Lite(3)
π XMLRPC::Lite β the perl manual page, but make it group chat
okay so bestie. you're looking at XMLRPC::Lite(3), which is a Perl module β and not just any module, it's the one that gives you a simple interface to the XML-RPC protocol, on both the client side and the server side. it's built on top of SOAP::Lite, which means you get access to literally every feature and transport that module has. no cap. π
β¨ NAME β¨
XMLRPC::Lite β client and server implementation of XML-RPC protocol. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
three flavors, pick your fighter:
Client
use XMLRPC::Lite;
print XMLRPC::Lite
-> proxy('http://betty.userland.com/RPC2')
-> call('examples.getStateStruct', {state1 => 12, state2 => 28})
-> result;
look at that chaining. proxy β call β result. it's giving main character energy, fr fr. β¨
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;
daemon mode goes brrr, and yes you literally print the URL so people know where to find it. iconic. π
πΈ DESCRIPTION πΈ
XMLRPC::Lite is a Perl module (the original says "modules", we love a plural) that hands you a simple interface to the XML-RPC protocol β client side and server side, both. π«Ά
it's based on the SOAP::Lite module, and because of that you get access to all the features and transports available in that module. all of them. the whole buffet. π₯
lowkey important: go peek att/26-xmlrpc.tfor client examples, andexamples/XMLRPC/*for server implementations. that's where the real ones live. π
π§ DEPENDENCIES π§
SOAP::Liteβ yeah. that one. your bestie depends on its bestie. π
β SEE ALSO β
SOAP::Lite
(short list, but it's a quality list, iykyk)
π 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. π¦
π COPYRIGHT π
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π AUTHOR π
Paul Kulchenko (paulclinger@yahoo.com)
and that's the whole page, bestie β no notes, ate and left no crumbs π
little sign-off for the record: this page ships withperl v5.42.0, dated2014-06-25, filed underXMLRPC::Lite(3). periodt. β¨π·
π¦ where this page comes from
- opensuse-leap 16.0: perl-XMLRPC-Lite 0.717-bp160.1.11 Β· GPL-1.0+ or Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms