diff options
author | Antony Woods <acron1@gmail.com> | 2014-09-22 21:34:22 +0100 |
---|---|---|
committer | Antony Woods <acron1@gmail.com> | 2014-09-22 21:34:22 +0100 |
commit | 3b4bf01a7dd9e16f1df00c70b87a533a3cd17797 (patch) | |
tree | 5b23e56fac9ccbc16436e64cd694de1e111a5cd4 /include/http_request.h | |
parent | c9e8bf3c6496c5027153735e446ae19cd4bcb4f4 (diff) | |
download | crow-3b4bf01a7dd9e16f1df00c70b87a533a3cd17797.tar.gz crow-3b4bf01a7dd9e16f1df00c70b87a533a3cd17797.zip |
URL params are now present as a ci_map variable of request
Diffstat (limited to 'include/http_request.h')
-rw-r--r-- | include/http_request.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/http_request.h b/include/http_request.h index 331bc80..24edb66 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -20,6 +20,7 @@ namespace crow { HTTPMethod method; std::string url; + ci_map url_params; ci_map headers; std::string body; @@ -30,8 +31,8 @@ namespace crow { } - request(HTTPMethod method, std::string url, ci_map headers, std::string body) - : method(method), url(std::move(url)), headers(std::move(headers)), body(std::move(body)) + request(HTTPMethod method, std::string url, ci_map url_params, ci_map headers, std::string body) + : method(method), url(std::move(url)), url_params(std::move(url_params)), headers(std::move(headers)), body(std::move(body)) { } |