class Gem::Router

Direct Known Subclasses

Defined in:

gem/router.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def all(route : String, &cb : Gem::Handler) #

[View source]
def connect(route : String, &cb : Gem::Handler) #

[View source]
def delete(route : String, &cb : Gem::Handler) #

[View source]
def get(route : String, &cb : Gem::Handler) #

[View source]
def head(route : String, &cb : Gem::Handler) #

[View source]
def options(route : String, &cb : Gem::Handler) #

[View source]
def post(route : String, &cb : Gem::Handler) #

[View source]
def put(route : String, &cb : Gem::Handler) #

[View source]
def trace(route : String, &cb : Gem::Handler) #

[View source]