Commit Graph

71 Commits

Author SHA1 Message Date
The-EDev
747ad6db72 Merge branch 'master' 2021-01-21 21:37:55 +03:00
The-EDev
3aaef5e0fd fixed merge errors 2021-01-21 21:36:41 +03:00
The-EDev
78ee97124b Merge branch 'master'
Conflicts:
	CMakeLists.txt
	examples/CMakeLists.txt
	include/crow/http_connection.h
	tests/CMakeLists.txt
2021-01-21 06:56:02 +03:00
The-EDev
75feb183b1 Merge branch 'master'
Conflicts:
	CMakeLists.txt
2021-01-15 03:47:40 +03:00
Michele Adduci
ccb7dca9d6
Added explicit message when OpenSSL is not found
example_ssl won't be built if OpenSSL is not found: a status message will be shown instead
2021-01-14 06:19:15 +01:00
Michele Adduci
bc250a3f66 Cleaned up indentation, added comments, bumped Boost minimum version to 1.64 2021-01-12 13:31:33 +01:00
Michele Adduci
96e1b2c157 Fixed issue with compiler options 2021-01-11 06:59:32 +01:00
Michele Adduci
6d4c7d8a9b New CMake refactoring 2021-01-08 16:13:39 +01:00
The-EDev
33f1206571 made json a returnable type and removed json specific code 2021-01-05 17:49:10 +03:00
The-EDev
09d0f4ccdd Added HTTP compression using gzip or deflate (disabled by default, requires calling method) 2021-01-02 22:12:04 +03:00
Ayaan Khan
716aa046fc
Merge branch 'master' into master 2020-12-03 12:46:57 +05:30
ayaankhan98
87e29c2aba fix: std::string && req parameter 2020-12-03 12:46:38 +05:30
ayaankhan98
8371bdb09f fix: std::string && req parameter 2020-12-03 12:43:50 +05:30
Makaveli
9bc030478f Settable server name feature 2020-12-02 20:15:05 -05:00
ayaankhan98
770359e79f fix: ambigous call and example 2020-12-02 15:36:29 +05:30
Ayaan Khan
6c7bef1eda
Merge branch 'master' into master 2020-12-01 12:03:02 +05:30
ayaankhan98
a7c74c6327 recieve response without request being another argument in handle 2020-12-01 11:50:46 +05:30
Farook Al-Sammarraie
d1aaff87ea
Merge branch 'master' into patch-1 2020-11-18 20:13:08 +03:00
Srivatsan Iyer
267694dbbc Fix #include for example_with_all. Using relative directories like "../build/crow_all.h" might not work in all settings. 2020-11-18 22:15:38 +05:30
Srivatsan Iyer
f561852233 Rename CMake target: example -> basic_example. 2020-11-18 22:15:01 +05:30
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