Top Level Namespace
Defined in:
Constant Summary
-
HTTP_METHODS_OPTIONS =
["get", "post", "put", "patch", "delete", "options"] of ::String
Method Summary
- delete(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- delete(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- get(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- get(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- options(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- options(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- patch(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- patch(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- post(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- post(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- put(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
- put(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
Method Detail
def delete(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def delete(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def get(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def get(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def options(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def options(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def patch(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def patch(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def post(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def post(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def put(path, middlewares : Array(Aerial::Handler), &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#
def put(path, &block : HTTP::Server::Context -> HTTP::Server::Context | String | Int32 | Int64 | Bool | Nil)
#