module Macros::RouterBase

Direct including types

Defined in:

lib/macros/router_base.cr

Constant Summary

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

Macro Summary

Macro Detail

macro delete(path, class_name, function_name) #

[View source]
macro get(path, class_name, function_name) #

[View source]
macro options(path, class_name, function_name) #

[View source]
macro patch(path, class_name, function_name) #

[View source]
macro post(path, class_name, function_name) #

[View source]
macro put(path, class_name, function_name) #

[View source]
macro ws(path, class_name, function_name) #

[View source]