AnyEvent::HTTP::SocksAdds socks support for AnyEvent::HTTP | |
Download |
AnyEvent::HTTP::Socks Ranking & Summary
Advertisement
AnyEvent::HTTP::Socks Tags
AnyEvent::HTTP::Socks Description
Adds socks support for AnyEvent::HTTP AnyEvent::HTTP::Socks is a Perl module that adds new `socks' option to all http_* functions exported by AnyEvent::HTTP. So you can specify socks proxy for HTTP requests.This module uses IO::Socket::Socks as socks library, so any global variables like $IO::Socket::Socks::SOCKS_DEBUG can be used to change the behavior.Socks string structure is: scheme://login:password@host:port ^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^ 1 2 3 41 - scheme can be one of the: socks4, socks4a, socks52 - "login:password@" part can be ommited if no authorization for socks proxy needed. For socks4 proxy "password" should be ommited, because this proxy type doesn't support login/password authentication, login will be interpreted as userid.3 - ip or hostname of the proxy server4 - port of the proxy serverSYNOPSIS use AnyEvent::HTTP; use AnyEvent::HTTP::Socks; http_get 'http://www.google.com/', socks => 'socks5://localhost:1080', sub { print $_; }; Requirements: · Perl
AnyEvent::HTTP::Socks Related Software