class Falcon::Command::Virtual
def host_endpoint(hostname, path: "/", **options)
def host_endpoint(hostname, path: "/", **options) endpoint = secure_endpoint(**options) url = URI.parse(@options[:bind_secure]) url.hostname = hostname url.path = path return Async::HTTP::Endpoint.new(url, hostname: endpoint.hostname) end