ivanka2012
1abd8b3506
Add implicit page resolving capability (a-directory -> a-directory/index.html) ( #647 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2020-12-11 14:02:47 +08:00
An Tao
e032f9bd0e
Add getListeners() method to the HttpAppFramework class ( #559 )
2020-09-07 00:51:07 +08:00
itgenie98
14b5ec08ee
Add HTTP PATCH method ( #476 )
2020-06-14 21:57:25 +08:00
adrian
fd2a612945
add digest filter in examples ( #462 )
...
* add digest filter in examples
* Add getMd5() function to the public API
Co-authored-by: Adrián Ortiz Gutiérrez <aortiz@MacBook-Pro.local>
Co-authored-by: antao <antao2002@gmail.com>
2020-06-07 14:43:05 +08:00
An Tao
58702dc41e
Port drogon to Windows ( #335 )
...
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
An Tao
e7b6ba27bb
Make user can use a custom type parameter instead of the first parameter in handlers of HttpControllers ( #284 )
2019-10-19 14:27:34 +08:00
An Tao
3a3a5636e8
Add type conversion methods to the HttpRequest and HttpResponse classes ( #283 )
2019-10-18 22:26:20 +08:00
An Tao
d830c4f057
Fix some race conditions ( #280 )
...
* Fix a race condition of static files
* Fix a race condition of 404 pages
2019-10-17 09:23:14 +08:00
An Tao
9855fc9b4f
Fix bugs in HTTP view examples ( #246 )
2019-09-16 10:10:23 +08:00
An Tao
aa26e9a903
Modify the CMakeLists to modern cmake style ( #229 )
2019-08-31 08:27:57 +08:00
An Tao
9f330f310d
Add a synchronous join point for AOP ( #226 )
2019-08-26 09:00:20 +08:00
antao
40087fba9c
Remove config.h
...
Modify the CMakeLists.txt
Remove the USE_ORM macro
Update trantor
Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
An Tao
33577b9666
Format some files for good code style ( #196 )
2019-07-16 20:00:20 +08:00
An Tao
6e8c718a52
Modify some comments in simple_example ( #193 )
2019-07-11 19:39:23 +08:00
antao
335f852aab
Add some necessary headers in preflight responses for CORS
2019-06-01 07:11:47 +08:00
antao
c17591ef49
Make some inline functions out-line
2019-05-23 10:47:15 +08:00
antao
a4c0e33782
Make the HttpClient class support cookies
2019-05-21 22:10:05 +08:00
antao
11b6d20a69
clang-format
2019-05-18 20:39:57 +08:00
antao
e696553b3d
Change the callback type in Filters and AOP Advices to the r-reference type
2019-05-09 13:57:33 +08:00
antao
00049c0d23
Change the type of the callback in HTTP request handlers to r-reference type
2019-05-09 11:25:25 +08:00
antao
32c14631fa
Add the getHandlersInfo() method
2019-04-24 14:38:07 +08:00
antao
1bc07c5197
Add support for AOP
2019-04-18 18:37:31 +08:00
antao
e517f07685
Add some methods using std::chrono_literals
2019-04-14 14:02:37 +08:00
antao
737c9bba8b
Provides a way for users to create and initialize controllers and filters with non-default constructors.
2019-03-30 23:09:22 +08:00
an-tao
798861a1cc
Use IPV4 in the webapp example
2019-03-25 23:28:22 +08:00
antao
66456eae1a
1. Add the getCustomCOnfig() method.
...
2. Add some comments.
2019-03-25 17:44:22 +08:00
an-tao
0e447a1f9e
Adapt ipv6
2019-03-13 23:44:53 +08:00
antao
b39dd52a87
Modify some comments
2019-03-06 15:57:05 +08:00
antao
075e3cc6b3
Modify the newFileResponse method
2019-01-29 10:49:37 +08:00
antao
cdd8ba380e
1. Modify the HttpClientImpl class to fix some bugs;
...
2. Support attachment download;
2019-01-28 18:25:04 +08:00
antao
ec7e8a1040
Forbid to download files from the parent folder
2019-01-19 22:57:07 +08:00
antao
5fd8571292
Change the listening port
2019-01-19 13:44:24 +08:00
antao
01de7f4f1e
Remove expired filter classes
2019-01-16 10:03:11 +08:00
antao
fd58a419a9
Rename HttpApiController to HttpController
2018-11-15 14:31:10 +08:00
antao
882a8f8090
Change the registerHttpApiMethod method to a non-static method
2018-11-09 15:21:53 +08:00
antao
2008b1fce6
Add drogon.h for drogon users
2018-10-18 15:54:57 +08:00
antao
cd6fab7a39
Modify examples
2018-10-14 11:56:18 +08:00
antao
93a07ed17a
1.Add gzip option in config file;
...
2.rename config example file's name
2018-10-14 11:53:05 +08:00
antao
0a3d27a5b0
Optimize response caching
2018-10-13 21:49:37 +08:00
antao
900cc62306
Add 'log_level' config option
2018-10-06 10:15:46 +08:00
antao
d04efa98b2
1.Simplify the FunctionTraits;
...
2.Fix simple_example's bugs
2018-09-29 17:33:19 +08:00
antao
5238da4df7
Use sendfile() system-call
2018-09-25 18:07:29 +08:00
antao
735d423fa5
Fix bugs of non-virtual destructor
2018-09-18 16:46:02 +08:00
antao
c71f0810b2
Add configuration file for drogon
2018-09-13 18:25:30 +08:00
antao
1d11c0cab4
Update CMakeLists.txt
2018-09-12 10:17:16 +08:00
antao
14ea657a2a
Modify example program
2018-09-11 18:40:00 +08:00
antao
44bdc8ecbc
Change a method name
2018-09-02 16:21:12 +08:00
antao
1011d5211d
Add LocalHostFilter
2018-08-31 15:17:09 +08:00
antao
2cff4a3457
Update METHOD_ADD macro
2018-08-30 10:18:04 +08:00
antao
68d05dae47
Modify callback function signature
2018-08-26 16:25:35 +08:00