DOKK / manpages / debian 12 / liblwp-protocol-http-socketunix-perl / LWP::Protocol::http::SocketUnix.3pm.en
LWP::Protocol::http::SocketUnix(3pm) User Contributed Perl Documentation LWP::Protocol::http::SocketUnix(3pm)

LWP::Protocol::http::SocketUnix - Speak HTTP through UNIX sockets

  use LWP::Protocol::http::SocketUnix;
  LWP::Protocol::implementor( http => 'LWP::Protocol::http::SocketUnix' );
  ...

LWP::Protocol::http::UnixSocket enables you to speak HTTP through UNIX sockets. To use it you need to overwrite the implementor class of the LWP 'http' scheme. All 'http' URIs will now be interpreted as local sockets by LWP.

The interface of LWP::Protocol::http::SocketUnix is similar to LWP::Protocol::http, which LWP::Protocol::http::SocketUnix inherits from.

LWP, LWP::Protocol

Florian Ragwitz, <flora@cpan.org>

Copyright (C) 2004 by Florian Ragwitz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.

2022-11-21 perl v5.36.0