Commit Graph

38 Commits

Author SHA1 Message Date
An Tao 45d2969dcb
Graceful shutdown (#393)
Call app().quit() to gracefully stop a drogon application.
2020-03-21 21:29:33 +08:00
An Tao 62fc82cba1
Add support for regular expressions when routing (#329) 2020-01-09 17:03:30 +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 228bac1cfb
Make user can use any string as a placeholder's name in routing patterns (#282) 2019-10-17 17:12:52 +08:00
Armstrong 1414704b44 add per request attribute store (#259) 2019-09-28 21:48:06 +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 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 00049c0d23 Change the type of the callback in HTTP request handlers to r-reference type 2019-05-09 11:25:25 +08:00
antao d5e8bd0b73 Add the OPTIONS method for CORS 2019-04-12 21:45:43 +08:00
antao d216a663aa Modify the HttpController template to be able to specify absolute paths in HttpController 2019-03-31 19:32:16 +08:00
antao 053c760d27 Rename the InnerIpFilter class 2019-03-14 11:25:12 +08:00
antao b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao 3f4baf15f1 Optimize filters and controllers 2019-01-25 16:46:20 +08:00
antao 615924c889 Debug form post request 2019-01-23 11:32:55 +08:00
antao 7c8432add0 Support http request in json format 2019-01-22 23:00:14 +08:00
antao c4987f690b Optimize routing algorithm 2019-01-18 17:42:46 +08:00
antao ab6faf3376 Add some comments 2019-01-18 10:30:39 +08:00
an-tao 5c96c4e6a2 Modifying the routing algorithm of HTTP controllers 2019-01-17 00:12:58 +08:00
antao 01de7f4f1e Remove expired filter classes 2019-01-16 10:03:11 +08:00
antao f35ff6347a Format some files 2019-01-02 18:49:37 +08:00
antao fd58a419a9 Rename HttpApiController to HttpController 2018-11-15 14:31:10 +08:00
antao fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao eef0ee8729 Use 'any' to support two types of constraints 2018-10-20 12:40:30 +08:00
antao acc26c0776 Add Http method constraints 2018-10-20 11:20:06 +08:00
antao 40a116193c Modify path matching 2018-10-17 15:06:24 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao d5202f11fa Add test method in simple_example 2018-10-11 17:57:24 +08:00
antao 16f7af90d3 Add response cache 2018-10-11 11:20:40 +08:00
antao d04efa98b2 1.Simplify the FunctionTraits;
2.Fix simple_example's bugs
2018-09-29 17:33:19 +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 68d05dae47 Modify callback function signature 2018-08-26 16:25:35 +08:00
antao a6fe81a003 Fix framework bugs 2018-08-14 16:35:05 +08:00
antao 99ba19ebca change doFilter interface 2018-08-02 15:38:06 +08:00
an-tao 0af5482a9a rename a example dir 2018-06-28 23:29:40 +08:00