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__ #

[View source]
macro __parse_inferred_routes__ #

[View source]
macro add_parser(content_type, &block) #

[View source]
macro add_responder(content_type, &block) #

[View source]
macro default_parser(content_type) #

[View source]
macro default_responder(content_type) #

[View source]