class Async::HTTP::Client

def make_pool(**options)

def make_pool(**options)
	if connection_limit = options.delete(:connection_limit)
		warn "The connection_limit: option is deprecated, please use limit: instead.", uplevel: 2
		options[:limit] = connection_limit
	end
	
	self.assign_default_tags(options[:tags] ||= {})
	
	Async::Pool::Controller.wrap(**options) do
		Console.logger.debug(self) {"Making connection to #{@endpoint.inspect}"}
		
		@protocol.client(@endpoint.connect)
	end
end