class Yeager::App

Defined in:

yeager/app.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def delete(path : String, &cb : CallbackType) #

[View source]
def get(path : String, &cb : CallbackType) #

[View source]
def handler : Yeager::HTTPHandler #

[View source]
def head(path : String, &cb : CallbackType) #

[View source]
def listen(port = DEFAULT_PORT, host = DEFAULT_HOST) #

[View source]
def listen(port = DEFAULT_PORT, host = DEFAULT_HOST, &cb : -> _) #

[View source]
def patch(path : String, &cb : CallbackType) #

[View source]
def post(path : String, &cb : CallbackType) #

[View source]
def put(path : String, &cb : CallbackType) #

[View source]
def routers : Hash(String, Yeager::Router) #

[View source]