class Async::HTTP::Client

def initialize(endpoint, protocol = endpoint.protocol, scheme = endpoint.scheme, authority = endpoint.authority, retries: 3, connection_limit: nil)

The client object will never become unusable. It internally manages persistent connections (or non-persistent connections if that's required).
* If a request fails, it will retry it up to N times if it was idempotent.
* If there are already connections, it will reuse it.
* If there are no connections, it will create one.
Provides a robust interface to a server.
def initialize(endpoint, protocol = endpoint.protocol, scheme = endpoint.scheme, authority = endpoint.authority, retries: 3, connection_limit: nil)
	@endpoint = endpoint
	@protocol = protocol
	
	@retries = retries
	@pool = make_pool(connection_limit)
	
	@scheme = scheme
	@authority = authority
end