I just found a solution
use IO::Socket::Socks::Wrapper ( 'HTTP::Tiny::Handle::connect()' => { ProxyAddr => 'localhost', ProxyPort => 1510, SocksVersion => 4, Timeout => 15 } );
Then you just use Tiny normally as you like. The performance decreased but still faster than LWP. I will check the performance of WWW::Curl
In reply to Re^2: HTTP::Tiny with localhost socks
by kilo_bytes
in thread HTTP::Tiny with localhost socks
by kilo_bytes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |