class
Kemal::InitHandler
- Kemal::InitHandler
- Reference
- Object
Overview
Initializes the context with default values, such as Content-Type or X-Powered-By headers.
Included Modules
- HTTP::Handler
Defined in:
kemal/init_handler.crConstant Summary
-
INSTANCE =
new
Instance Method Summary
- #call(context : HTTP::Server::Context)
-
#in_flight : Int32
The number of requests currently being served.
Instance Method Detail
def in_flight : Int32
#
The number of requests currently being served. A WebSocket or SSE connection counts for as long as it stays open.