module Client
Definitions
def proxied_client(endpoint, headers = nil)
Create a client that will proxy requests through the current client.
Implementation
def proxied_client(endpoint, headers = nil)
proxy = self.proxy(endpoint, headers)
return self.class.new(proxy.wrap_endpoint(endpoint))
end