Crow/examples
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
..
ssl macro rename 2021-03-31 20:30:32 +03:00
websocket macro rename 2021-03-31 20:30:32 +03:00
CMakeLists.txt Quality of life improvements 2021-05-12 15:45:55 +03:00
example_catchall.cpp changed catchall to fit with the rest of crow 2021-04-12 08:25:09 +03:00
example_chat.cpp macro rename 2021-03-31 20:30:32 +03:00
example_chat.html source resturcturing + CMake 2014-08-07 01:18:33 +09:00
example_compression.cpp macro rename 2021-03-31 20:30:32 +03:00
example_json_map.cpp Quality of life improvements 2021-05-12 15:45:55 +03:00
example_static_file.cpp macro rename 2021-03-31 20:30:32 +03:00
example_test.py Add a testcase for large response + Connection:close header 2016-09-10 01:57:09 +09:00
example_vs.cpp macro rename 2021-03-31 20:30:32 +03:00
example_with_all.cpp macro rename 2021-03-31 20:30:32 +03:00
example.cpp macro rename 2021-03-31 20:30:32 +03:00
example.py source resturcturing + CMake 2014-08-07 01:18:33 +09:00
helloworld.cpp macro rename 2021-03-31 20:30:32 +03:00