class Stout::Params

Defined in:

stout/params.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : HTTP::Server::Context, body : String, route_params : Nil | Hash(String, String)) #

[View source]

Instance Method Detail

def [](name : String) #

[View source]
def []?(name : String) : String | JSON::Any | Nil #

[View source]
def context : HTTP::Server::Context #

[View source]
def get_params : Hash(String, String) | Nil #

params from the querystring


[View source]
def parse_get #

[View source]
def parse_post #

[View source]
def post_params : JSON::Any | Nil #

params from the post body


[View source]
def route_params : Hash(String, String) | Nil #

params for the route from the radix tree


[View source]