struct Cryload::PhasedClient::Tunnel

Overview

An HTTP(S) proxy that the connection to the target is tunnelled through with CONNECT. #tls is the context for the proxy hop itself (an https:// proxy), nil for a plain-HTTP proxy.

Defined in:

cryload/phased_client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(proxy : URI, tls : OpenSSL::SSL::Context::Client | Nil) #

Instance Method Detail

def clone #

def copy_with(proxy _proxy = @proxy, tls _tls = @tls) #

def proxy : URI #

def tls : OpenSSL::SSL::Context::Client | Nil #