class Async::HTTP::Internet
def call(method, url, headers = [], body = nil)
def call(method, url, headers = [], body = nil) endpoint = URLEndpoint.parse(url) client = @clients.fetch(endpoint) do @clients[endpoint] = Client.new(endpoint) end request = Request.new(endpoint.authority, method, endpoint.path, nil, headers, body) return client.call(request) end