class Stout::Context

Defined in:

stout/context.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(http : HTTP::Server::Context, route_params, route_names : Hash(Symbol, String), default_route : String) #

[View source]

Instance Method Detail

def <<(something) #

[View source]
def body : String #

[View source]
def call_next #

[View source]
def default_route : String #

the default route to use if the route name doesn't exist


[View source]
def params : Stout::Params #

[View source]
def path(name : Symbol) : String #

[View source]
def route_names : Hash(Symbol, String) #

the globalish list of route names like :user_path


[View source]

Macro Detail

macro method_missing(call) #

[View source]