HTTParty は、Rubyのgemで、Net::HTTPを親しみやすいDSLでラップします:
require 'httparty'
HTTParty.get('https://example.com',
http_proxyaddr: 'gateway.proxied.com',
http_proxyport: 1080,
scheme: 'socks5h'
)
socks5hスキームは、HTTPとDNSの両方をProxiedのキャリアIP経由でルーティングします。
HTTParty は、Rubyのgemで、Net::HTTPを親しみやすいDSLでラップします:
require 'httparty'
HTTParty.get('https://example.com',
http_proxyaddr: 'gateway.proxied.com',
http_proxyport: 1080,
scheme: 'socks5h'
)
socks5hスキームは、HTTPとDNSの両方をProxiedのキャリアIP経由でルーティングします。