class Stout::Params
- Stout::Params
- Reference
- Object
Defined in:
stout/params.crConstructors
Instance Method Summary
- #[](name : String)
- #[]?(name : String) : String | JSON::Any | Nil
- #context : HTTP::Server::Context
-
#get_params : Hash(String, String) | Nil
params from the querystring
- #parse_get
- #parse_post
-
#post_params : JSON::Any | Nil
params from the post body
-
#route_params : Hash(String, String) | Nil
params for the route from the radix tree
Constructor Detail
def self.new(context : HTTP::Server::Context, body : String, route_params : Nil | Hash(String, String))
#