class Amber::Router::Params

Defined in:

amber/router/params.cr

Constant Summary

APPLICATION_JSON = "application/json"
MULTIPART_FORM = "multipart/form-data"
TYPE_EXT_REGEX = Amber::Support::MimeTypes::TYPE_EXT_REGEX
URL_ENCODED_FORM = "application/x-www-form-urlencoded"

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : HTTP::Request) #

[View source]

Instance Method Detail

def [](key : Types::Key) : String #

[View source]
def []=(key : Types::Key, value) #

[View source]
def []?(key : Types::Key) #

[View source]
def fetch_all(key : Types::Key) : Array #

[View source]
def files #

[View source]
def has_key?(key : Types::Key) : Bool #

[View source]
def json(key : Types::Key) #

[View source]
def override_method?(key : Types::Key) #

[View source]
def to_h : Types::Params #

[View source]