Skip to content

Instantly share code, notes, and snippets.

@matt-42
Created August 24, 2015 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-42/478390fbad8275e880d2 to your computer and use it in GitHub Desktop.
Save matt-42/478390fbad8275e880d2 to your computer and use it in GitHub Desktop.
silicon 0.2 new route syntax
GET / _set_person / _id[int()]
* get_parameter(_name = string())
* post_parameter(_city = string()) =
[] (auto p) {
cout << " id = " << p.id
<< " name = " << p.name
<< " city = " << p.city;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment