Module: Rack::Handler::Falcon
- Defined in:
- lib/rack/handler/falcon.rb
Class Method Summary collapse
Class Method Details
.endpoint_for(**options) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/rack/handler/falcon.rb', line 11 def self.endpoint_for(**) host = [:Host] || 'localhost' port = Integer([:Port] || 9292) return Async::IO::Endpoint.tcp(host, port) end |