class Skeleton::RouteHandler

Included Modules

Defined in:

skeleton/handlers/RouteHandler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def call(context : HTTP::Server::Context) #

[View source]
def connect(path : String, &callback : Callback) #

[View source]
def delete(path : String, &callback : Callback) #

[View source]
def get(path : String, &callback : Callback) #

[View source]
def head(path : String, &callback : Callback) #

[View source]
def options(path : String, &callback : Callback) #

[View source]
def patch(path : String, &callback : Callback) #

[View source]
def post(path : String, &callback : Callback) #

[View source]
def put(path : String, &callback : Callback) #

[View source]
def static_routes : Hash(String, HTTP::Server::Context, Hash(String, String) -> Skeleton::Renderable) #

[View source]
def trace(path : String, &callback : Callback) #

[View source]
def tree : Radix::Tree(HTTP::Server::Context, Hash(String, String) -> Skeleton::Renderable) #

[View source]