iron-params
Request parameters extension for the Iron web framework.
iron-params is a fast, convenient, and flexible extension for Iron Request. It allows retriving query/form params from iron request and convert into the type you want.
Example
extern crate iron;
extern crate iron_params as params;
use *;
use *;
// To run, $ cargo run --example simple
// to use, $ curl -d "ids=1,2,3&channel=1" "http://localhost:3000/?ids=4,5,6,"
Installation
If you're using cargo, just add iron-params to your Cargo.toml
.
[]
= "*"
Otherwise, cargo build
, and the rlib will be in your target
directory.