Skip to content

module ActionController::Support #

Constants#

TYPE_SEPARATOR_REGEX = /;\s*/#

Class methods#

.build_route(route, hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol)? = nil, **tuple_parts)#

Used in base.cr to build routes for the redirect_to helpers

View source

.content_type(headers)#

Extracts the mime type from the content type header

View source

.redirect_to_https(context)#

View source

.request_protocol(request)#

View source

.websocket_upgrade_request?(request)#

View source