module Artanis::DSL

Direct including types

Defined in:

dsl.cr

Instance Method Summary

Macro Summary

Instance Method Detail

def call : Artanis::Response #

[View source]

Macro Detail

macro after(path = "*", &block) #

[View source]
macro before(path = "*", &block) #

[View source]
macro call_action(method_name) #

[View source]
macro call_method(method) #

[View source]
macro delete(path, &block) #

[View source]
macro gen_match(type, method, path, &block) #

TODO use __match_000000 routes to more easily support whatever in routes (?)

TODO match regexp routes

TODO add conditions on routes


[View source]
macro get(path, &block) #

[View source]
macro halt(code_or_message = 200) #

[View source]
macro halt(code, message) #

[View source]
macro head(path, &block) #

[View source]
macro match(method, path, &block) #

[View source]
macro options(path, &block) #

[View source]
macro pass #

[View source]
macro patch(path, &block) #

[View source]
macro post(path, &block) #

[View source]
macro put(path, &block) #

[View source]