Kemal
Constants
Log = ::Log.for(self)
VERSION = {{ (`shards version \"/tmp/tmp.niPhiK/src/src/kemal\"`).chomp.stringify }}
Class methods
config
Sourceconfig
Sourcedisplay_startup_message(config, server)
Sourcerun(port : Int32 | Nil, args = ARGV, trap_signal : Bool = true)
Overload of self.run with the default startup logging.
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
stop
SourceNested types
- Kemal::BaseLogHandler
- Kemal::CLI
- Kemal::Config
- Kemal::ExceptionHandler
- Kemal::ExceptionPage
- Kemal::Exceptions
- Kemal::FileUpload
- Kemal::Handler
- Kemal::HandlerInterface
- Kemal::HeadRequestHandler
- Kemal::InitHandler
- Kemal::LRUCache(K, V)
- Kemal::LogHandler
- Kemal::NullLogHandler
- Kemal::OverrideMethodHandler
- Kemal::ParamParser
- Kemal::Route
- Kemal::RouteHandler
- Kemal::SSL
- Kemal::StaticFileHandler
- Kemal::Utils
- Kemal::WebSocket
- Kemal::WebSocketHandler