Commit Graph

128 Commits

Author SHA1 Message Date
antao
b0546e1277 Change some code 2018-09-04 11:19:12 +08:00
antao
790867d1e3 Add gzip compressing 2018-09-03 10:56:11 +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
966dd2e30e Update FunctionTraits of HttpApiBinder 2018-08-29 18:26:36 +08:00
antao
a314404e89 Format code 2018-08-27 18:19:04 +08:00
antao
8788d0359d Add filters chain before websocket controller 2018-08-27 16:07:36 +08:00
antao
68d05dae47 Modify callback function signature 2018-08-26 16:25:35 +08:00
antao
5bc2929797 Add http file types for download 2018-08-24 11:21:02 +08:00
antao
1faa4937a3 Fix some bugs 2018-08-23 18:05:17 +08:00
antao
6aa14b27b8 Modify websocket example 2018-08-23 13:17:54 +08:00
antao
8a82d988ec Fix websocket bugs 2018-08-23 11:23:38 +08:00
antao
414e9b5fa6 Debug websocket frame parsing....something is wrong 2018-08-22 19:20:34 +08:00
antao
0e95e10c2b Websocket frame parsing 2018-08-22 18:20:54 +08:00
antao
c0acf347a3 Modify drogon_ctl 2018-08-22 15:08:48 +08:00
antao
a6fe81a003 Fix framework bugs 2018-08-14 16:35:05 +08:00
antao
1c47395bb8 Fix api controller instance bug 2018-08-10 22:53:09 +08:00
antao
bb438ba272 add HttpRequest method 2018-08-09 14:12:31 +08:00
antao
99ba19ebca change doFilter interface 2018-08-02 15:38:06 +08:00
antao
d1f4ccf3d7 Modify some methods 2018-07-25 21:00:37 +08:00
antao
4f189afdf5 Modify HttpRequest creating interface 2018-07-25 17:07:21 +08:00
antao
278f7abae1 Fix bug in HttpClient 2018-07-24 18:50:25 +08:00
antao
8f2fefb8e8 Merge branch 'master' of https://github.com/an-tao/drogon 2018-07-24 17:24:38 +08:00
antao
0e68138fa6 Debug HttpClient... 2018-07-24 17:24:23 +08:00
an-tao
199dc1918f Add SSL macro in test program 2018-07-21 21:08:35 +08:00
antao
00e82ce5ba Support https with OpenSSL 2018-07-21 13:21:13 +08:00
an-tao
0af5482a9a rename a example dir 2018-06-28 23:29:40 +08:00
root
82855fc86e fix precompiled bugs 2018-06-23 11:22:20 +00:00
an-tao
cc35b08580 support dynamic libs compiling and loading 2018-06-14 18:51:26 +08:00
an-tao
95b83206fb Write the compilation configuration to config.h 2018-06-14 14:25:57 +08:00
an-tao
50bbd2d946 modify definitation of any 2018-06-13 17:30:40 +08:00
an-tao
4a8cb46f43 add some method in HttpAppFramework 2018-06-11 17:11:06 +08:00
an-tao
6c7512bdf4 file uploading 2018-06-11 15:45:28 +08:00
an-tao
e0fbab7d0e add setThreadNum method 2018-06-08 17:21:36 +08:00
an-tao
e2fdbe9f62 fix a spelling mistake 2018-06-08 12:22:11 +08:00
an-tao
fb6c6527bd add query parameters map to handler method 2018-06-08 11:15:29 +08:00
an-tao
132e887337 fix a spelling error 2018-06-07 16:38:45 +08:00
an-tao
5728774b26 urldecode in path string 2018-06-07 10:29:41 +08:00
an-tao
43744f5df6 modify example of api controller 2018-06-07 09:41:15 +08:00
an-tao
006cfdd898 command for creating api controller;todo:fix regex match bug 2018-06-06 21:40:48 +08:00
an-tao
3f69aafec8 create api controller command,not complete yet 2018-06-06 18:29:05 +08:00
an-tao
f992c02673 use std::regex to match api path pattern,and parse arguments in path 2018-06-06 16:34:02 +08:00
an-tao
03885cc9cb modify macro in api controller 2018-06-05 21:42:08 +08:00
an-tao
232094f01a create controller only once 2018-06-05 17:59:11 +08:00
an-tao
488e824d44 HttpApiController work 2018-06-05 14:40:03 +08:00
an-tao
4a063155a1 change FunctionTraits 2018-06-05 10:43:53 +08:00
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
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
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
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
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
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
526485a139 drogon_ctl: add create controller command 2018-05-29 13:49:26 +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
652560697d add json Response 2018-05-21 18:54:00 +08:00
an-tao
ee1ff8950c add some filters 2018-05-14 18:13:34 +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
cb08150d87 update trantor 2018-05-11 17:39:52 +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
an-tao
dacc5c555e add Session class;use pimpl in HttpAppFramework class 2018-05-09 16:14:21 +08:00
an-tao
26bda82b25 add banner 2018-05-04 17:51:22 +08:00
an-tao
87592fe7da add CacheMap class,need testing 2018-05-03 18:28:37 +08:00
an-tao
2e80c2b132 adjust file location 2018-05-02 18:28:33 +08:00
an-tao
ecfea6f713 add HttpAppFramework class,not complete 2018-05-02 17:45:10 +08:00