class Kemal::InitHandler

Overview

Initializes the context with default values, such as Content-Type or X-Powered-By headers.

Included Modules

Defined in:

kemal/init_handler.cr

Constant Summary

INSTANCE = new

Instance Method Summary

Instance Method Detail

def call(context : HTTP::Server::Context) #

[View source]
def in_flight : Int32 #

The number of requests currently being served. A WebSocket or SSE connection counts for as long as it stays open.


[View source]