class Rackup::Handler::Falcon
def self.endpoint_for(**options)
Generate an endpoint for the given `rackup` options.
def self.endpoint_for(**options) host = options[:Host] || 'localhost' port = Integer(options[:Port] || 9292) return Async::IO::Endpoint.tcp(host, port) end