class Crouter::Route

Defined in:

crouter/route.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(method : String, pattern, action : HTTP::Server::Context, HTTP::Params -> Nil) #

[View source]

Class Method Detail

def self.prefix #

[View source]
def self.prefixed(prefix : String, &) #

[View source]

Instance Method Detail

def call_action(context, match) #

[View source]
def match(method, path) #

[View source]