class

Kemal::ParamParser

Inherits Reference < Object

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

Constants

APPLICATION_JSON = "application/json"
MULTIPART_FORM = "multipart/form-data"
PARTS = ["url", "query", "body", "json", "files"] of ::String
URL_ENCODED_FORM = "application/x-www-form-urlencoded"

Constructors

new(request : HTTP::Request, url : Hash(String, String) = {} of String => String)
Source

Instance methods

all_files
Source
body
Source
cleanup_temporary_files
Source
files
Source
json
Source
query
Source