Commit Graph

177 Commits

Author SHA1 Message Date
antao fc7505122f Update the submodule trantor 2019-05-23 16:07:08 +08:00
antao c17591ef49 Make some inline functions out-line 2019-05-23 10:47:15 +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 3e1886a84e Add the forward() method to the framework 2019-05-09 16:27:39 +08:00
antao e696553b3d Change the callback type in Filters and AOP Advices to the r-reference type 2019-05-09 13:57:33 +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 2efa183b93 Implement gzip_static 2019-05-03 14:44:20 +08:00
antao fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao 189c537c29 Support host strings with IPv6 address in the HttpClient class 2019-04-24 16:48:03 +08:00
antao 32c14631fa Add the getHandlersInfo() method 2019-04-24 14:38:07 +08:00
antao 1bc07c5197 Add support for AOP 2019-04-18 18:37:31 +08:00
antao e517f07685 Add some methods using std::chrono_literals 2019-04-14 14:02:37 +08:00
antao d5e8bd0b73 Add the OPTIONS method for CORS 2019-04-12 21:45:43 +08:00
antao e87c9a75f6 Modify the implementation of WebSocket 2019-04-08 16:37:24 +08:00
antao 3a587ab90b Modify the pipeling test 2019-04-07 12:15:02 +08:00
antao b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao 40dc13f0bd Add ws_test.html for websocket testing 2019-04-05 09:54:26 +08:00
antao 62fad73bc9 Enhance HttpClient to support pipelining 2019-04-05 01:50:29 +08:00
an-tao e128a27c58 Modifying URL encoding of HTTP requests 2019-04-03 00:17:30 +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 737c9bba8b Provides a way for users to create and initialize controllers and filters with non-default constructors. 2019-03-30 23:09:22 +08:00
antao aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao 8ae07ce195 Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR in CMakeLists.txt files 2019-03-27 19:32:09 +08:00
antao 1f8be1ce8c Add some Travis CI tests 2019-03-26 15:25:22 +08:00
an-tao 798861a1cc Use IPV4 in the webapp example 2019-03-25 23:28:22 +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 db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +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
antao 7ae533671c Add matchedPathPattern() interface in the HttpRequest class
Change version to 0.9.31
2019-03-18 10:44:38 +08:00
antao 053c760d27 Rename the InnerIpFilter class 2019-03-14 11:25:12 +08:00
an-tao 0e447a1f9e Adapt ipv6 2019-03-13 23:44:53 +08:00
antao 250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
antao b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao 49c03ee707 Add htmlTranslate() method 2019-02-27 10:36:03 +08:00
antao e7dbb3bbc5 Remove 'using namespace drogon' from public headers 2019-02-02 13:45:40 +08:00
antao 7041783579 Modify code style 2019-02-02 11:34:00 +08:00
antao 82100926e5 Change version to 0.9.24 2019-02-01 18:59:13 +08:00
antao 022132c33e Add json format response benchmark 2019-01-31 10:23:12 +08:00
an-tao cbbee440ea Compatible with older versions of gcc 2019-01-29 22:24:32 +08:00
antao 55ba4c5196 Support file upload requests 2019-01-29 17:38:55 +08:00
antao 075e3cc6b3 Modify the newFileResponse method 2019-01-29 10:49:37 +08:00
antao cdd8ba380e 1. Modify the HttpClientImpl class to fix some bugs;
2. Support attachment download;
2019-01-28 18:25:04 +08:00
antao cef7dc177e Optimize file upload 2019-01-27 15:59:56 +08:00
antao a5684c66d3 Fix reference count error in HttpClientImpl class 2019-01-25 19:48:24 +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 a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00