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 \s-1HTTP\s0 through \s-1UNIX\s0 sockets. To use it you need to overwrite the implementor class of the \s-1LWP\s0 'http' scheme. All 'http' URIs will now be interpreted as local sockets by \s-1LWP\s0.
The interface of LWP::Protocol::http::SocketUnix is similar to LWP::Protocol::http, which LWP::Protocol::http::SocketUnix inherits from.
\s-1LWP\s0, LWP::Protocol
Florian Ragwitz, <[email protected]>
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.