module

Kemal

Constants

Log = ::Log.for(self)
VERSION = {{ (`shards version \"/tmp/tmp.maPfcI/src/src/kemal\"`).chomp.stringify }}

Class methods

config
Source
config
Source
display_startup_message(config, server)
Source
run(port : Int32 | Nil, args = ARGV, trap_signal : Bool = true)

Overload of self.run with the default startup logging.

Source
run(args = ARGV, trap_signal : Bool = true)

Overload of self.run without port.

Source
run(port : Int32 | Nil = nil, args = ARGV, trap_signal : Bool = true, &)

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

Source
run(args = ARGV, &block)

Overload of self.run to allow just a block.

Source
stop
Source

Nested types