Help for this page

Select Code to Download


  1. or download this
    my $sniffer = Sniffer::HTTP->new(
        callbacks => {       
           request  => sub {
              my ($req,$conn) = @_;
    
  2. or download this
    print $req->uri;
    
  3. or download this
    
    $self = bless( {
    ...
              stale_connection => $self->{stale_connection},
              timeout          => 300
            );