Commit Graph

24 Commits

Author SHA1 Message Date
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
Armstrong 1414704b44 add per request attribute store (#259) 2019-09-28 21:48:06 +08:00
Armstrong ae01eb5ded fix url decode (#256)
* urldecode: should always unescaped chars
2019-09-26 10:06:09 +08:00
An Tao 9855fc9b4f
Fix bugs in HTTP view examples (#246) 2019-09-16 10:10:23 +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
antao 47c6bc20f4 Optimize the htmlTranslate method 2019-07-08 13:49:01 +08:00
antao fc7505122f Update the submodule trantor 2019-05-23 16:07:08 +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 7ae533671c Add matchedPathPattern() interface in the HttpRequest class
Change version to 0.9.31
2019-03-18 10:44:38 +08:00
antao 49c03ee707 Add htmlTranslate() method 2019-02-27 10:36:03 +08:00
antao 82100926e5 Change version to 0.9.24 2019-02-01 18:59:13 +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
an-tao 5c96c4e6a2 Modifying the routing algorithm of HTTP controllers 2019-01-17 00:12:58 +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 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 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