class Alfodr::Router::Params

Defined in:

alfodr/router/params.cr

Constant Summary

APPLICATION_JSON = "application/json"
MULTIPART_FORM = "multipart/form-data"
TYPE_EXT_REGEX = Alfodr::Support::MimeTypes::TYPE_EXT_REGEX

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

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

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

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

[View source]