class Tiny::ParamParser

Overview

ParamParser parses the request contents including query_params and body and converts them into a params hash which you can within the environment context.

Defined in:

tiny/param_parser.cr

Constant Summary

APPLICATION_JSON = "application/json"
MULTIPART_FORM = "multipart/form-data"
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 body #

[View source]
def files #

[View source]
def json #

[View source]
def query #

[View source]
def url #

[View source]