Example #1
0
File: URI.cpp Project: 12307/poco
void URI::setQueryParameters(const QueryParameters& params)
{
	_query.clear();
	for (QueryParameters::const_iterator it = params.begin(); it != params.end(); ++it)
	{
		addQueryParameter(it->first, it->second);
	}
}
Example #2
0
ResumeSkillsGet::ResumeSkillsGet()
: c2s::C2SRestMethodPrototypeGET<std::string>(std::string("skills"))
{
    installEntityStreamer(new ResumeJSONStreamer<std::string>());
    addQueryParameter("callback", &jsonpCallback, "");
}