PHP 8.2.31
Preview: TraceHTTP.pm Size: 599 B
/proc/thread-self/root/usr/share/perl5/vendor_perl/LWP/Debug/TraceHTTP.pm

package LWP::Debug::TraceHTTP;

# Just call:
#
#   require LWP::Debug::TraceHTTP;
#   LWP::Protocol::implementor('http', 'LWP::Debug::TraceHTTP');
#
# to use this module to trace all calls to the HTTP socket object in
# programs that use LWP.

use strict;
use base 'LWP::Protocol::http';

our $VERSION = '6.34';

package # hide from PAUSE
    LWP::Debug::TraceHTTP::Socket;

use Data::Dump 1.13;
use Data::Dump::Trace qw(autowrap mcall);

autowrap("LWP::Protocol::http::Socket" => "sock");

sub new {
    my $class = shift;
    return mcall("LWP::Protocol::http::Socket" => "new", undef, @_);
}

1;

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
599 B lrw-r--r-- 2018-06-05 18:49:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).