module ActionController::Route::Builder
Direct including types
Defined in:
action-controller/router/builder.crConstant Summary
-
DEFAULT_PARSER =
["application/json"]
-
DEFAULT_RESPONDER =
["application/json"]
-
OPENAPI_ERRORS =
{} of Nil => Nil
-
OPENAPI_FILTERS =
{} of Nil => Nil
-
OpenAPI tracking
-
OPENAPI_ROUTES =
{} of Nil => Nil
-
PARSERS =
{"application/json" => do |klass, body_io| klass.from_json(body_io) end} of Nil => Nil
-
RESPONDERS =
{"application/json" => do |io, result| result.to_json(io) end} of Nil => Nil
-
ROUTE_FUNCTIONS =
{} of Nil => Nil
-
Routing related
Macro Summary
- __build_transformer_functions__
- __parse_inferred_routes__
- add_parser(content_type, &block)
- add_responder(content_type, &block)
- default_parser(content_type)
- default_responder(content_type)