Commit Graph

67 Commits

Author SHA1 Message Date
an-tao
6004b633af change http callback interface 2018-06-05 09:38:03 +08:00
an-tao
ed4ed3fda0 make HttpApiBinder support lambda and std::function 2018-06-04 23:45:21 +08:00
an-tao
a8bc891209 Continue to improve the api controller, not yet completed 2018-06-04 19:00:35 +08:00
an-tao
5cc1ab00e5 fix find libjsoncpp bug in CMakeLists.txt 2018-06-03 21:29:45 +08:00
an-tao
f117f08817 prepair to add api controller 2018-06-01 18:18:14 +08:00
an-tao
0a80323f84 fix some bugs 2018-06-01 14:07:34 +08:00
an-tao
2875656d82 fix iterator bug 2018-05-31 18:56:07 +08:00
an-tao
de6e93da66 modify the file annotations 2018-05-31 17:00:31 +08:00
an-tao
c32c5bf44b delete 'delete' operator 2018-05-31 15:56:27 +08:00
an-tao
22e35f6e56 organize the code 2018-05-31 14:34:26 +08:00
an-tao
59b925737d addListener method 2018-05-31 13:55:33 +08:00
an-tao
8c4f981e4f 1.use Any in HttpServer;2.catch exception in HttpViewData 2018-05-31 11:14:33 +08:00
an-tao
1aaa65fff7 replace bare pointers with shared_ptr in HttpReponse static methods;fix a delete bug 2018-05-30 21:23:46 +08:00
an-tao
7b7a426f85 modify the output format of drogon_ctl 2018-05-30 18:22:46 +08:00
an-tao
ff05960bf9 Restore the deleted files 2018-05-30 18:00:02 +08:00
an-tao
612fee9ef0 add a list parameters example 2018-05-30 17:44:09 +08:00
an-tao
23d7496e2a change version to 0.9 2018-05-30 15:55:27 +08:00
an-tao
bc78d2ef60 disable a debug output 2018-05-30 15:37:15 +08:00
an-tao
1e4aef4a21 add NotFound page 2018-05-30 15:19:03 +08:00
an-tao
bbfaf4ac7a Merge branch 'master' of https://github.com/an-tao/drogon 2018-05-30 14:00:54 +08:00
an-tao
a9b6c9896f change TestView.csp 2018-05-30 13:59:12 +08:00
an-tao
388f97d729 add HttpView csp file in example 2018-05-30 13:23:59 +08:00
an-tao
466a761805 fix include header bugs 2018-05-29 21:24:04 +08:00
an-tao
30ab716c6b add HttpView to support html backend rendering 2018-05-29 17:21:37 +08:00
an-tao
a0f065e684 add HttpView class 2018-05-29 15:15:23 +08:00
an-tao
ffd652c4e0 fix indentation bug 2018-05-29 13:57:10 +08:00
an-tao
526485a139 drogon_ctl: add create controller command 2018-05-29 13:49:26 +08:00
an-tao
aea79fd9a8 drogon_ctl add help command 2018-05-28 18:29:14 +08:00
an-tao
56542a68d2 drogon_ctl add version command 2018-05-28 17:08:12 +08:00
an-tao
3578674fa5 add version 2018-05-28 14:34:47 +08:00
an-tao
324c7e5857 1.session ctl method;2.http server keep the connection alive until client close it 2018-05-23 13:52:28 +08:00
an-tao
83fc67a8c1 add TimeFilter in example 2018-05-22 19:05:26 +08:00
an-tao
f08234f66f std::forward 2018-05-22 14:26:34 +08:00
an-tao
e78d9cd930 Merge branch 'master' of https://github.com/an-tao/drogon 2018-05-21 18:56:39 +08:00
an-tao
652560697d add json Response 2018-05-21 18:54:00 +08:00
an-tao
b7d60096b5 add headfile in HttpAppFramework 2018-05-17 22:28:22 +08:00
an-tao
ee1ff8950c add some filters 2018-05-14 18:13:34 +08:00
an-tao
e887d4f090 move declaration of HttpSimpleControllerBase to HttpSimpleController.h 2018-05-14 17:39:01 +08:00
an-tao
e7e61d2b18 fix a bug 2018-05-14 17:27:20 +08:00
an-tao
d1f8b43833 add TestController in example 2018-05-14 16:57:40 +08:00
an-tao
584d90beaf change HttpResponse class to a interface class 2018-05-14 16:40:03 +08:00
an-tao
e1fdd05aec add HttpFilter class,not yet completed 2018-05-14 14:19:08 +08:00
an-tao
624c5daa7c change Macro for HttpSimpleController 2018-05-14 11:12:06 +08:00
an-tao
f6993cf12e build.sh 2018-05-11 17:51:01 +08:00
an-tao
cb08150d87 update trantor 2018-05-11 17:39:52 +08:00
an-tao
72b2a60b53 add Session in HttpRequest 2018-05-11 16:57:16 +08:00
an-tao
7384f34dc0 make simple controller work... 2018-05-11 15:33:11 +08:00
an-tao
8ee6d68526 start to add HttpSimpleController 2018-05-11 09:25:17 +08:00
an-tao
7fcbffa553 make DrObject class template safer 2018-05-10 17:43:32 +08:00
an-tao
866eb12b1a ... 2018-05-10 17:11:22 +08:00