Commit Graph

34 Commits

Author SHA1 Message Date
The-EDev
f8fabe32ae
fixed runtime error in basic_example 2021-11-22 17:47:02 +03:00
Luca Schlecker
e5c7daccce remove every occurance of #define CROW_MAIN.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-21 17:25:16 +01:00
Farook Al-Sammarraie
72e33c743e
Merge branch 'master' into revamped_setup 2021-10-02 17:29:07 +03:00
The-EDev
a031fb6c8e added status codes enum 2021-09-30 20:38:23 +03:00
Luca Schlecker
f90f9b8e61 fix basic and blueprint example not building on some machines. 2021-09-01 09:29:12 +02:00
The-EDev
f5338260bb several changes:
added json list in a similar fashion to json object
renamed object_type to object
updated readme, index.html, and json.md to include objects and lists
updated examples to be slightly cleaner and include lists
replaced instances of json object (std::map and such) with the short version (object)
accurate floating point number dumping (`6.0` instead of `6`) while taking 1/30th of the time (29 microseconds saved)
added json list testing
snuck in utf-8 middleware warning fix
snuck in twitter card style for crowcpp.org site (makes social media cards look way better with a large image)
2021-08-20 03:57:21 +03:00
Maxim Kokryashkin
cdce8f443a macro rename 2021-03-31 20:30:32 +03:00
Maxim Kokryashkin
ce7d08eb0e fixed issues with static wariables 2021-02-21 00:28:32 +03:00
Sfinktah Bungholio
740bd266e7 fixes for **some** msvc compatibility issues 2021-02-09 03:25:02 +11:00
ayaankhan98
8371bdb09f fix: std::string && req parameter 2020-12-03 12:43:50 +05:30
ayaankhan98
a7c74c6327 recieve response without request being another argument in handle 2020-12-01 11:50:46 +05:30
The-EDev
8da6919617 fixed issue in example 2020-10-18 03:38:50 +03:00
The-EDev
6a760ca09f added simple example 2020-10-18 03:20:19 +03:00
ipknHama
2c26b6c1de Change default settings
- disable crow debug mode by default
 - expose `loglevel` method on `App` to change the logging level easily
 - add a startup message that guides how to change the logging level
2017-09-18 02:58:53 +09:00
Rasie1
633dc82b8f Add get_dict usage to example 2017-03-16 19:27:19 +03:00
ipknHama
3081e4e1a8 Cleanup include folder into crow subfolder
- only crow.h is exposed now
2016-09-21 23:11:06 +09:00
ipknHama
60c16934cd Add a testcase for large response + Connection:close header 2016-09-10 01:57:09 +09:00
ipknHama
e161da45e0 Remove warnings: manually applying #101, #104 2016-08-27 18:03:49 +09:00
DeliciousGarfield
ea131c3607 Add a simpler way for json example 2016-03-18 12:19:08 +08:00
Laurent Meyer
673238c2d6 Corrected a typo 2015-02-22 15:29:39 +01:00
Laurent Meyer
cc33f580ee Commented the examples to be easier to be understood by someone new to it. 2015-02-22 15:23:05 +01:00
Laurent Meyer
4edc907fde Added the comments for the param function because had problem to understand the pattern of lists in URL parameters 2015-02-22 11:56:40 +01:00
Jaeseung Ha
07042b55fd fix #27 : handling routes with trailing slash 2015-01-19 19:03:06 +09:00
Nako Sung
067f60cefa fixed typo 2015-01-02 11:54:30 +09:00
ipknHama
dc477a2df1 fix add_json to handle POST request 2014-12-15 21:52:42 +09:00
ipknHama
966867a9ca change pointer to reference; fix up spaces 2014-12-12 01:38:57 +09:00
Antony Woods
693aac108d Post-pull commit 2014-10-24 09:40:09 +01:00
Antony Woods
27bf11d35c Re-implemented 'get_middleware()' as suggested, without changing the Server constructor and now no longer encountering hangs 2014-10-23 18:33:03 +01:00
Antony Woods
ada3039707 Fixed compiler errors and inlines some of the qs_parse functions 2014-10-22 09:40:33 +01:00
Antony Woods
06842721d7 Wrapped qs_parse as query_string and added tests 2014-10-14 09:48:35 +01:00
Antony Woods
3b4bf01a7d URL params are now present as a ci_map variable of request 2014-09-22 21:34:22 +01:00
ipknHama
c89cafa820 add Middlewares template to Crow main class, context implementation 2014-09-07 01:24:45 +09:00
ipkn
daa3c82087 improve performance by 2x
change to io_service per CPU model
2014-08-17 05:35:21 -04:00
ipknHama
031615ac86 source resturcturing + CMake 2014-08-07 01:18:33 +09:00