Module: Async::HTTY::Environment::Server
- Defined in:
- lib/async/htty/environment/server.rb
Overview
An async-service environment module for HTTY transport. Include this (or let Lively::Environment::Application include it) to replace Falcon with an HTTY server in the service lifecycle.
Instance Method Summary collapse
-
#container_options ⇒ Object
Do not restart after the HTTY session ends.
-
#service_class ⇒ Object
Use the HTTY service server instead of Falcon’s.
Instance Method Details
#container_options ⇒ Object
Do not restart after the HTTY session ends. Unlike a TCP server, there is nothing to reconnect to once stdin/stdout closes.
19 20 21 |
# File 'lib/async/htty/environment/server.rb', line 19 def {count: 1, restart: false} end |