class Async::HTTP::URLEndpoint
def initialize(url, endpoint = nil, **options)
def initialize(url, endpoint = nil, **options) super(**options) raise ArgumentError.new("URL must be absolute (include scheme, host): #{url}") unless url.absolute? @url = url @endpoint = endpoint end