module Route

Defined in:

route.cr
route/router.cr
route/version.cr

Constant Summary

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

Supported http methods

VERSION = "0.1.5"

Instance Method Summary

Instance Method Detail

def delete(path : String, api : API) #

[View source]
def draw(route_handler, &) #

[View source]
def get(path : String, api : API) #

[View source]
def options(path : String, api : API) #

[View source]
def patch(path : String, api : API) #

[View source]
def post(path : String, api : API) #

[View source]
def put(path : String, api : API) #

[View source]