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