PHP 8.2.30
Preview: TraceHTTP.pm Size: 601 B
//usr/local/share/perl5/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 parent 'LWP::Protocol::http';

our $VERSION = '6.76';

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
601 B lr--r--r-- 2024-01-25 18:31:29
Edit Download

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