class Async::HTTP::Proxy

def initialize(client, address, headers = [])

Parameters:
  • headers (Array) -- an optional list of headers to use when establishing the connection.
  • address (String) -- the address to connect to.
  • client (Async::HTTP::Client) -- the client which will be used as a proxy server.
def initialize(client, address, headers = [])
	@client = client
	@address = address
	@headers = headers
end