mbehboodian
33044c823f
Fix typo in README.md ( #708 )
2021-02-07 17:08:41 +08:00
Martin Chang
a2142dd93e
Coroutine support ( #693 )
...
* app().registerHttpHandler() accepts coroutine as handlers
* HttpController can use coroutine as handlers'
* Http request handlers with coroutine catches exception instead of crashing the entire app
* DbClient now has execSqlCoro that is awaitable
* DbClient now has newTransactionCoro that is awaitable
* HttpClient have awaitable sendRequestCoro
* WebSocketClient have awaitable connectToServerCoro
* WebSocketClient have setAsyncMessageHandler and setAsyncConnectionClosedHandler
* drogon::AsyncTask and drogon::Task<T> as our corutine types
* Related tests
* Misc
Future work
* Coroutine for WebSocket server
* Known issues
co_future() and sync_wait may crash. It looks like GCC bug but I'm not sure.
Workarround: Make an coroutine of AsyncTask. Then launch said coroutine.
Not sure why wrapping the exact same thing in function crashes things.
Co-authored-by: an-tao <antao2002@gmail.com>
2021-02-06 17:05:58 +08:00
An Tao
566297d4df
Create cmake.yml ( #653 )
2020-12-13 18:12:30 +08:00
Rafał Bugajewski
3c0103d324
Added OpenBSD as Supported Operating System
2020-11-15 15:57:59 +01:00
Haceau-Zoac
2ffd4738b2
Add zh-TW README.md ( #593 )
2020-10-03 23:34:29 +08:00
an-tao
5bca202c28
Update README
2020-09-20 22:14:37 +08:00
An Tao
a32170b9a3
Modify the documentation of the method fileData() ( #566 )
2020-09-12 13:59:04 +08:00
An Tao
11cabfb546
Remove the useless method stat() from the PluginBase class ( #563 )
2020-09-10 08:45:23 +08:00
An Tao
34cefefce4
Modify parseContentType function ( #518 )
2020-07-25 10:01:06 +08:00
an-tao
dd66ba5a73
Bump version to 1.0.0-beta19
2020-07-16 21:07:00 +08:00
Rafał Bugajewski
598d8c15b3
Added Initial Contribution Recommendations ( #445 )
...
Co-authored-by: antao <antao2002@gmail.com>
2020-05-25 21:05:05 +08:00
Erez Oxman
d43c2976ff
Changed link in readme.md from doxiz to docsforge ( #442 )
2020-05-22 00:00:07 +08:00
An Tao
c43ba9e514
Add support for brotli compression ( #406 )
2020-04-04 18:15:15 +08:00
An Tao
e171874524
Modify installation on Windows ( #366 )
2020-02-29 15:46:08 +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
4809cc9508
Modify the reverse proxy example ( #319 )
2019-12-16 00:34:40 +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
antao
5b40410466
Update drogon version to v1.0.0-beta8
2019-10-04 15:18:09 +08:00
An Tao
ba49a0e0e6
Update README ( #225 )
...
* Update README
* Update CMakeLists.txt
2019-08-24 22:44:37 +08:00
antao
f5c97d33cd
Update README
2019-07-10 15:03:32 +08:00
antao
4db148a5af
Update README
2019-06-26 16:49:29 +08:00
antao
3d3fd2531c
Update trantor and README.md
2019-05-18 10:56:28 +08:00
antao
1b5abb0b03
Update README
2019-05-14 11:14:51 +08:00
An Tao
89f940602d
Update README.md
2019-05-09 11:50:55 +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
1bc07c5197
Add support for AOP
2019-04-18 18:37:31 +08:00
antao
b96eb04859
Add WebSocket client support
2019-04-07 00:46:22 +08:00
antao
fd5c02c89f
Update README.md and the submodule trantor
2019-03-28 09:52:35 +08:00
antao
66456eae1a
1. Add the getCustomCOnfig() method.
...
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao
56eaca1998
Update README.md and the banner image
2019-03-24 23:17:12 +08:00
antao
fecec81975
1.Remove an unnecessary null pointer check
...
2.Fix a compilation error for older g++
3.Update README.md
2019-03-20 11:46:27 +08:00
An Tao
9eb7025d74
Update README.md
2019-03-19 23:21:14 +08:00
An Tao
34ebd7ef58
Update README.md
2019-03-19 23:01:19 +08:00
An Tao
06da245cd6
Update README.md
2019-03-19 20:47:18 +08:00
An Tao
3e4a650d9c
Update README.md
2019-03-19 18:50:58 +08:00
antao
1a5845d06c
Update README
2019-03-19 18:26:09 +08:00
antao
f8c5a73c6b
Update the README
2019-03-19 18:22:15 +08:00
antao
62f152b945
Add a docker badge
2019-03-14 17:51:42 +08:00
An Tao
4661ffb854
Update README.md
2019-03-07 21:12:54 +08:00
The Gitter Badger
0225addd61
Add Gitter badge
2019-03-07 06:57:58 +00:00
An Tao
37d96bb6fd
Update README.md
2019-03-06 16:27:11 +08:00
antao
b39dd52a87
Modify some comments
2019-03-06 15:57:05 +08:00
An Tao
253e66b587
Update README.md
2019-03-03 10:51:44 +08:00
antao
5b24e90f94
Modify README
2019-02-02 10:12:57 +08:00
antao
b37aa3da6c
Modify the README
2019-01-27 12:29:00 +08:00
an-tao
375cc38517
Add a badge of code quality to the README
2019-01-22 00:26:32 +08:00
an-tao
554f6a7763
Update the README
2019-01-21 23:46:26 +08:00
antao
1227609ec3
Update the README
2019-01-18 13:18:33 +08:00
The Codacy Badger
7af497864e
Add Codacy badge
2019-01-18 02:23:32 +00:00
antao
13c5fca57e
Update the README and the version
2018-12-30 10:44:47 +08:00