module Router

Defined in:

router.cr
router/handler/handler.cr
router/version.cr

Constant Summary

HTTP_METHODS = ["get", "post", "put", "patch", "delete", "options"] of ::String
VERSION = "0.2.7"

Instance Method Summary

Instance Method Detail

def delete(path : String, &block : Action) #

[View source]
def get(path : String, &block : Action) #

[View source]
def options(path : String, &block : Action) #

[View source]
def patch(path : String, &block : Action) #

[View source]
def post(path : String, &block : Action) #

[View source]
def put(path : String, &block : Action) #

[View source]
def route_handler : RouteHandler #

[View source]