Alumna::App
Inherits Alumna::Ruleable < Reference < Object
Constructors
new(serializer : Http::Serializer = Http::JsonSerializer.new)
SourceInstance methods
active_requests
Sourceclose
Sourceconnections=(connections : Connections)
Local sockets. Not a bus. Default is in-process MemoryConnections.
Negative is a config error, not a per-request 400.
dispatch(service : Service, ctx : RuleContext) : RuleContext
Central dispatch using merged pipelines. Uncaught Exception from a rule becomes ServiceError.internal (500). Service methods are already wrapped in Service#call_method.
listen(port : Int32 | Nil = 3000, *, host : String = "127.0.0.1", unix_socket : String | Nil = nil, trusted_proxies : TrustedProxies = nil, workers : Int32 | Nil = nil, shutdown_timeout : Time::Span | Nil = 10.seconds, trap_signals : Bool = true)
Sourcemax_body_size
Sourceserializer
Sourceservices
Source