Kemal::Config
Stores all the configuration options for a Kemal application. It's a singleton and you can access it like.
Kemal.config
Constants
Constructors
Instance methods
Adds an error handler for the given HTTP status code
Adds an error handler for the given exception
When non-empty, WebSocket upgrade requests must send an Origin header that matches
one of these values (after normalization: scheme/host/port only). Entries use the
serialized origin form, e.g. "https://example.com" or "http://localhost:3000".
Use "null" to allow the browser's opaque "null" origin.
When non-empty, WebSocket upgrade requests must send an Origin header that matches
one of these values (after normalization: scheme/host/port only). Entries use the
serialized origin form, e.g. "https://example.com" or "http://localhost:3000".
Use "null" to allow the browser's opaque "null" origin.