Top Level Namespace

Defined in:

Constant Summary

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

Method Summary

Method Detail

def delete(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def delete(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def get(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def get(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def options(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def options(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def patch(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def patch(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def post(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def post(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def put(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]
def put(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil) #

[View source]