Module: Lively::Environment::HTTP
- Includes:
- Falcon::Environment::Server, Middleware
- Defined in:
- lib/lively/environment/http.rb
Overview
Falcon (TCP/HTTP) environment for Lively applications.
Combines Falcon::Environment::Server for HTTP transport with Middleware for application and asset serving.
Instance Method Summary collapse
-
#count ⇒ Object
The number of worker processes/threads to run.
-
#url ⇒ Object
The URL this server binds to.
Methods included from Middleware
#application, #middleware, #root
Instance Method Details
#count ⇒ Object
The number of worker processes/threads to run.
29 30 31 |
# File 'lib/lively/environment/http.rb', line 29 def count 1 end |
#url ⇒ Object
The URL this server binds to.
23 24 25 |
# File 'lib/lively/environment/http.rb', line 23 def url ENV.fetch("LIVELY_URL", "http://localhost:9292") end |