XMLRPC:...rt::TCP(3)

🌸 XMLRPC::Transport::TCP(3) β€” the bestie edit 🌸

ok so first things first: the full manual name got chopped up in the header, so lemme just say it out loud β€” we're reading XMLRPC:...rt::TCP(3), which is the User Contributed Perl Documentation page for this module. the truncated bit in the middle is Transport in case you were squinting at it πŸ’…


✨ NAME ✨

XMLRPC::Transport::TCP β€” literally the thing that gives you Server/Client side TCP support for XMLRPC::Lite. that's the whole vibe. it's giving "plumbing but make it RPC" 🫢


✨ SYNOPSIS ✨

ok bestie here's the whole thing, verbatim, don't touch:

use XMLRPC::Transport::TCP;

my $daemon = XMLRPC::Transport::TCP::Server
  -> new (LocalAddr => 'localhost', LocalPort => 82, Listen => 5, Reuse => 1)
  -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
  -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method');
print "Contact to XMLRPC server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n";
$daemon->handle;

so like β€” you use the module, you spin up a XMLRPC::Transport::TCP::Server with LocalAddr => 'localhost', LocalPort => 82, Listen => 5 and Reuse => 1 🌈 then chaining happens (the iconic method-chain moment ✨): objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat)), then dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method'). then you print "Contact to XMLRPC server at " plus join(':', $daemon->sockhost, $daemon->sockport) and a "\n" β€” and finally $daemon->handle makes it actually serve. slay πŸ’€


✨ DESCRIPTION ✨

ngl there is literally nothing under this heading in the original page. no prose, no explanation, zero words. the SYNOPSIS is doing all the heavy lifting here, main character energy πŸ‘‘


Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.

and the legal bit, keep it exact, no paraphrasing:

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) β€” we love a credited king πŸ‘‘



ok that's the whole page, and quick sign-off so nobody comes for me: this was perl v5.42.0, dated 2014-06-25, filed under XMLRPC:...rt::TCP(3) πŸ¦‹ bye bestie, go write some TCP servers πŸ’–

πŸ“¦ where this page comes from