Commit Graph

18 Commits

Author SHA1 Message Date
The-EDev
189e0709b1 explained CROW_JSON_NO_ERROR_CHECK 2021-06-28 13:01:12 +03:00
The-EDev
2dde0ac950 updated documentation to fix a few mistakes, clear up a few points, and added compression guide 2021-06-03 17:12:48 +03:00
The-EDev
f39b9ddce7 Quality of life improvements
Added pop() method to query_string, same as get(), but removes the item from the querystring
Added std::string() operator to json::rvalue (allows std::string(json["abc"]), which returns any value that isn't a container to string)
Added lo() method to json::rvalue, returns a vector of json::rvalue containing whatever a json object or list has (difference being a list has no keys)
Added keys() method to json::rvalue, returns a vector of std::string containing the keys of a json object
Made json::wvalue use either std::map or std::unordered_map instead of just std::unordered_map
Added copy constructor to json::wvalue
Added size() method to json::wvalue, returns 1 or the size of the json list.
Added constructor to create json::wvalue from std::vector
Added keys() method to query_string
Documented query_string and improved json doc
Made tests and examples for all the additions
2021-05-12 15:45:55 +03:00
Farook Al-Sammarraie
4aae614297
Merge branch 'master' into catch_all 2021-04-12 10:49:29 +03:00
The-EDev
f779a0f8a4 changed catchall to fit with the rest of crow
the macro is similar to CROW_ROUTE, added example to cmake, added unit test, and documentation
2021-04-12 08:25:09 +03:00
The-EDev
1eeda1a22b mentioned crow_main in docs and edited mime_types generating script to include it. 2021-04-04 07:47:14 +03:00
Farook Al-Sammarraie
1654acbfd0
Merge branch 'master' into HEAD_and_OPTIONS 2021-04-03 06:31:45 +03:00
The-EDev
223ab5eb9f added note regarding HEAD and OPTIONS methods in documentation 2021-04-03 06:06:09 +03:00
Tibo Vanheule
a32d803e10
small error in documentation
LogLevel needs to be capitalized, see 51a8a977d9/include/crow/logging.h (L14)
2021-04-01 02:22:38 +02:00
The-EDev
8523afa930 Update templating.md and mustache.h
Updated templating documentation to mention "working directory" rather than "executable directory".
Added Warning log when a template is not found.
2021-02-09 06:52:05 +03:00
The-EDev
cf217d3c1f Merge branch 'master' 2021-01-05 17:51:57 +03:00
The-EDev
7ee3439800 added documentation for testing, proxies, and systemd setup 2021-01-05 08:59:32 +03:00
The-EDev
9db47120e7 added documentation
also removed extra header meant for testing
2020-12-19 14:30:20 +03:00
ayaankhan98
0bca73dbf6 added missing <br> 2020-12-03 18:16:19 +05:30
ayaankhan98
6c9b7e18a4 fix: docs routes.md 2020-12-03 12:48:58 +05:30
The-EDev
ca642a87cd Updated all URLs for migration and to fix mkdocs 2020-11-30 23:05:55 +03:00
The-EDev
870fde9085 fixed typos and added missing parts 2020-11-28 22:48:09 +03:00
The-EDev
23648445f3 Changed documentation. a lot.
Added mkdocs documentation.
Altered doxygen generation (doxyfile and shell script) to work with mkdocs.
Removed the whole html folder thing for docs, now the files reside in the root gh-pages branch.
New readme.
2020-11-28 17:28:47 +03:00