Symphony::HttpServer
Inherits Symphony::BackgroundService < Reference < Object
Constants
AccessLog = Log.for("request")
Log = Symphony::Log.for(HttpServer)
Constructors
new(host : String = "127.0.0.1", port : Int32 = 8080, health_check : HealthCheck | Nil = nil, *, reuse_port : Bool = false, &handler : HTTP::Server::Context -> )
SourceInstance methods
alive?
Sourceinterrupt
Sourcemax_request_to_always_log
This allows to log the first requests fully, but afterwards skip
them unless they seems important (defined by skip_logging).
max_request_to_always_log=(max_request_to_always_log : UInt64)
This allows to log the first requests fully, but afterwards skip
them unless they seems important (defined by skip_logging).
start
Source