LWP::Protocol::http::SocksChain

LWP::Protocol::http::SocksChain is a Perl module that allows you to speak HTTP through Net::SC.
Download

LWP::Protocol::http::SocksChain Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Igor V. Okunev
  • Publisher web site:
  • http://search.cpan.org/~gosha/LWP-Protocol-http-SocksChain-1.4/SocksChain.pm

LWP::Protocol::http::SocksChain Tags


LWP::Protocol::http::SocksChain Description

LWP::Protocol::http::SocksChain is a Perl module that allows you to speak HTTP through Net::SC. LWP::Protocol::http::SocksChain is a Perl module that allows you to speak HTTP through Net::SC.SYNOPSIS use LWP::UserAgent; use LWP::Protocol::http::SocksChain; LWP::Protocol::implementor( http => 'LWP::Protocol::http::SocksChain' ); @LWP::Protocol::http::SocksChain::EXTRA_SOCK_OPTS = ( Chain_Len => 1, Debug => 0, Random_Chain => 1, Auto_Save => 1, Restore_Type => 1 ); my $ua = LWP::UserAgent->new(); my $req = HTTP::Request->new( GET => 'http://home.sinn.ru/~gosha/perl-scripts/'); my $res = $ua->request($req) || die $!; if ($res->is_success) { ... } else { ... } or use LWP::UserAgent; use LWP::Protocol::http::SocksChain; LWP::Protocol::implementor( http => 'LWP::Protocol::http::SocksChain' ); @LWP::Protocol::http::SocksChain::EXTRA_SOCK_OPTS = ( Chain_Len => 1, Debug => 0, Random_Chain => 1, Chain_File_Data => , Auto_Save => 0, Restore_Type => 0 ); my $ua = LWP::UserAgent->new(); my $req = HTTP::Request->new( GET => 'http://home.sinn.ru/~gosha/perl-scripts/'); my $res = $ua->request($req) || die $!; if ($res->is_success) { ... } else { ... } Requirements: · Perl


LWP::Protocol::http::SocksChain Related Software