class Async::HTTP::Endpoint

def self.[](url)

@parameter url [String | Endpoint] The URL or endpoint to convert.
Coerce the given object into an endpoint.
def self.[](url)
	if url.is_a?(Endpoint)
		return url
	else
		Endpoint.parse(url.to_s)
	end
end