Commit Graph

51 Commits

Author SHA1 Message Date
The-EDev
24830648d2 added macros for static endpoint and directory
(also put some info in the example)
2020-11-10 23:56:27 +03:00
The-EDev
f93d9a8a22 updated paths to merge_all.py, c++ version in cmake, and logo in readme 2020-10-31 21:22:34 +03:00
Farook Al-Sammarraie
65b12e88e8
Merge branch 'master' into multipart 2020-10-20 10:10:52 +03:00
Igor Mróz
d33f04c7e7
CMakeLists small changes. Add clang-format config. Remove Makefile. 2020-10-19 18:32:16 +02:00
Igor Mróz
7b8b72bd11
Remove conanfile. Update mustache specification jsons. Remove compilation warnings. Update CMake version. Change test framework to Catch2. 2020-10-19 18:32:16 +02:00
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
Farook
03f6d6c818 added static file example 2020-10-04 19:29:56 +03:00
ipknHama
274aad86e7 Remove amalgamation result (crow_all.h) from the repository 2017-09-18 05:15:41 +09: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
Jaeseung Ha
08acc7c0be Merge branch 'master' into master 2017-09-18 00:43:42 +09:00
ipknHama
414809c742 Change websocket example to use default templates directory 2017-09-17 19:11:06 +09:00
Jaeseung Ha
4394142d3f Merge branch 'master' into fix_libssl_example 2017-09-17 19:14:40 +09:00
Jaeseung Ha
13fdc9390b Merge pull request #202 from Rasie1/master
Conflict with std namespace
2017-09-17 13:50:50 +09:00
Jerry Coffin
251f0cf0ed Modified websocket example to automatically retrieve server's hostname. 2017-04-11 22:31:36 -07:00
Rasie1
633dc82b8f Add get_dict usage to example 2017-03-16 19:27:19 +03:00
Anders Åslund
5921ccd0ed Fix linking error on OSX
Fix websocket example
2016-10-15 20:26:12 +02:00
yorickdewid
f4f6b02403 Set cast type without dereferencing pointer 2016-10-03 13:47:22 +02: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
Jaeseung Ha
2cf77c7053 Skip building SSL example if OpenSSL is not found 2016-09-06 09:40:55 +09:00
ipknHama
967adf0de5 Add websocket feature 2016-08-28 14:46:31 +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
Jaeseung Ha
e4708671bc implement HTTPS support
- define CROW_ENABLE_SSL to use
 - close #88
2015-09-20 22:06:00 +09:00
mnpk
7e1b4ee58c Add the very basic example, and Update README.md 2015-06-10 18:09:49 +09: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
ipknHama
686e5e220b Add working example for VS2013 and update CMakeList.txt 2015-02-21 05:46:28 +09: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
Xenosoz Hwang
2e67eff80e Add missing dynamic shared object info
A linker option '-lpthread' was required on my Gentoo system.
2014-12-12 05:38:29 +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
ipknHama
111b346312 add missing example_with_all.cpp file 2014-10-24 02:12:28 +09:00
ipknHama
023455ba58 add building test for crow_all.h 2014-10-24 01:20:19 +09: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
6a2def410c Fixed merge oddities 2014-10-14 18:25:22 +01:00
Antony Woods
06842721d7 Wrapped qs_parse as query_string and added tests 2014-10-14 09:48:35 +01:00
ipknHama
a5fab23f70 HTTP GET/POST method distinguish 2014-10-07 21:51:24 +09: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
7b08a2daac remove -pg compile flag (commited by mistake) 2014-08-15 10:44:03 +09:00
ipkn
b70a190077 tcmalloc linking added 2014-08-14 19:22:02 -04:00
ipknHama
c36aa219e2 now crow becomes completely header only 2014-08-07 08:31:27 +09:00
ipknHama
e70380e003 cmake update, added template test 2014-08-07 04:46:28 +09:00