module Async::HTTP::Proxy::Client
def proxied_client(endpoint, headers = [])
def proxied_client(endpoint, headers = []) proxy = self.proxy(endpoint, headers) return self.class.new(proxy.wrap_endpoint(endpoint)) end
def proxied_endpoint(endpoint, headers = [])
def proxied_endpoint(endpoint, headers = []) proxy = self.proxy(endpoint, headers) return proxy.wrap_endpoint(endpoint) end
def proxy(endpoint, headers = [])
def proxy(endpoint, headers = []) Proxy.new(self, endpoint.authority(false), headers) end