module Kemal
Defined in:
kemal.crkemal/base_log_handler.cr
kemal/cli.cr
kemal/config.cr
kemal/exception_handler.cr
kemal/file_upload.cr
kemal/filter_handler.cr
kemal/handler.cr
kemal/head_request_handler.cr
kemal/helpers/exception_page.cr
kemal/helpers/utils.cr
kemal/init_handler.cr
kemal/log_handler.cr
kemal/null_log_handler.cr
kemal/override_method_handler.cr
kemal/param_parser.cr
kemal/route.cr
kemal/route_handler.cr
kemal/ssl.cr
kemal/static_file_handler.cr
kemal/websocket.cr
kemal/websocket_handler.cr
Constant Summary
-
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-kemalcr-kemal-v1.6.0/src/kemal\"`).chomp.stringify }}
Class Method Summary
- .config(&)
- .config
- .display_startup_message(config, server)
-
.run(port : Int32 | Nil, args = ARGV, trap_signal : Bool = true)
Overload of
self.run
with the default startup logging. -
.run(args = ARGV, trap_signal : Bool = true)
Overload of
self.run
without port. -
.run(port : Int32 | Nil = nil, args = ARGV, trap_signal : Bool = true, &)
The command to run a
Kemal
application. -
.run(args = ARGV, &block)
Overload of
self.run
to allow just a block. - .stop
Class Method Detail
Overload of self.run
with the default startup logging.
Overload of self.run
without port.
The command to run a Kemal
application.
If port is not given Kemal will use Kemal::Config#port
To use custom command line arguments, set args to nil