module Athena::Routing


See the external documentation for an introduction to Athena.

Also checkout the Components for an overview of how Athena is designed.

Defined in:

Constant Summary

LOGGER = Log.for("athena.routing")

Class Method Summary

Class Method Detail

def : Int32 = 3000, host : String = "", reuse_port : Bool = false) : Nil #

Runs an HTTP::Server listening on the given port and host.

require "athena"

class ExampleController < ART::Controller
  def root : String
    "At the index"

See ART::Controller for more information on defining controllers/route actions.

[View source]