HTTP::Proxy

A pure Perl HTTP proxy.
Download

HTTP::Proxy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Philippe Bruhat
  • Publisher web site:
  • http://search.cpan.org/~book/Net-Proxy-0.07/script/sslh

HTTP::Proxy Tags


HTTP::Proxy Description

A pure Perl HTTP proxy. HTTP::Proxy is a pure Perl HTTP proxy.SYNOPSIS use HTTP::Proxy; # initialisation my $proxy = HTTP::Proxy->new( port => 3128 ); # alternate initialisation my $proxy = HTTP::Proxy->new; $proxy->port( 3128 ); # the classical accessors are here! # this is a MainLoop-like method $proxy->start;This module implements a HTTP proxy, using a HTTP::Daemon to accept client connections, and a LWP::UserAgent to ask for the requested pages.The most interesting feature of this proxy object is its ability to filter the HTTP requests and responses through user-defined filters.Once the proxy is created, with the new() method, it is possible to alter its behaviour by adding so-called "filters". This is done by the push_filter() method. Once the filter is ready to run, it can be launched, with the start() method. This method does not normally return until the proxy is killed or otherwise stopped.An important thing to note is that the proxy is (except when running the NoFork engine) a forking proxy: it doesn't support passing information between child processes, and you can count on reliable information passing only during a single HTTP connection (request + response). Requirements: · Perl


HTTP::Proxy Related Software