Commit Graph
37 Commits
Author SHA1 Message Date
Chunting Gu 0292b4b51e Support response data streaming and add an example file downloader. 2019-08-08 17:12:22 +08:00
Chunting Gu db87f940e0 Refine CMake to find boost. 2019-07-15 17:24:21 +08:00
Adam Gu 2a20030f7e Fix the ambiguity of the contructors of FormPart. 2019-07-14 09:01:48 +08:00
Chunting Gu 8b85248a34 Merge request handler to server; add FileBody for serving static files. 2019-07-12 16:05:01 +08:00
Chunting Gu b2cbc450b8 Fix payload iteration issue of FormBody; Log form body; ignore body for response of HEAD. 2019-07-09 13:18:55 +08:00
Chunting Gu 98aeeae012 Rework the body of request and response 2019-07-03 17:37:44 +08:00
Chunting Gu a3cab444dc Server API rework. 2019-06-26 17:34:39 +08:00
Chunting Gu 8a7f53313b Add response builder to simplify the response build; refine the service interfaces. 2019-06-21 17:41:02 +08:00
Chunting Gu 4140b4f94c Rework the server to remove rest_xxx classes. 2019-06-21 13:53:00 +08:00
Chunting Gu 22b209d13e Allow to add Date header to the request. 2019-06-06 13:32:46 +08:00
Chunting Gu 2035c1f552 Refine the parsing of response status line; add UT for utility. 2019-05-31 13:43:44 +08:00
Chunting Gu 113dacb9ce Remove PostFile() from session; refine cmake files; replace final with override. 2019-04-24 13:42:16 +08:00
Adam Gu ddd521b684 Fix link error against crypto32; update screenshots for configure on Mac. 2019-04-23 21:16:36 +08:00
Chunting Gu 2fe4024511 Refine parser 2019-04-23 13:06:04 +08:00
Chunting Gu 2a868c4dc1 Add an option to disable GZIP. 2019-04-22 14:43:46 +08:00
Chunting Gu 4721d50363 Fix multipart form data parsing 2019-04-18 16:20:45 +08:00
Chunting Gu e621025cc3 Remove http prefix 2019-04-18 13:40:36 +08:00
Chunting Gu a4b24c63b8 Rename autotest and unittest files 2019-04-18 10:08:53 +08:00
Chunting Gu ba9f6c4c23 Rename test to autotest 2019-04-17 17:05:29 +08:00
Chunting Gu b72820c9c5 Add UT for http parser. 2019-04-16 11:11:50 +08:00
Chunting Gu 18db152419 Add base64 encode and decode. 2019-03-27 14:06:22 +08:00
Chunting Gu 616f5a3f5e Reorganize examples; fix soap issues. 2019-03-15 14:40:36 +08:00
Chunting Gu 31d0ea3c9d Cleanup async client APIs. 2019-03-07 16:02:49 +08:00
Chunting Gu ffa0794926 Handle both HTTP & HTTPS in HttpClientSession; remove macro WEBCC_ENABLE_SSL. 2019-03-06 13:46:19 +08:00
Chunting Gu 9b8304f06c Initial client API V2 2019-03-06 11:13:33 +08:00
Chunting Gu 3e60c76da1 Allow to set buffer size for client; don't auto adjust reading buffer size; refine the global definitions. 2019-02-11 12:46:27 +08:00
Chunting Gu d328f3a957 Fix CMake issues 2019-01-30 09:56:07 +08:00
Chunting Gu 8c53b24bb7 Add config.h.in which produces the config.h on CMake configure. 2018-11-20 17:04:47 +08:00
Adam Gu a863b379d0 Refactor RestService interfaces. 2018-08-24 16:51:08 +08:00
Adam Gu 223e59cc7a Support CDATA for SOAP request and response; Rename Parameter to SoapParameter; Add book server and client example for SOAP. 2018-07-19 11:19:51 +08:00
Adam Gu 88511caff6 Reorganize folder structure. 2018-07-06 13:59:16 +08:00
Adam Gu cdc61b4bf2 Rename RegisterService to Bind and add is_regex parameter; indent public/protected/private by one space; refine rest example. 2018-05-22 15:45:38 +08:00
Adam Gu 1bab2da8f4 Refactoring according Google C++ Style. 2018-05-18 15:37:09 +08:00
Chunting Gu 5e6f125f90 Fix compile errors on Linux. 2018-05-12 09:05:11 +08:00
Adam Gu bcfb1e4c92 Add query parameters to RestService::Handle() 2018-04-23 13:22:59 +08:00
Chunting Gu 20721c2423 Refine CMake, update UT. 2018-04-13 12:50:39 +08:00
Adam Gu 5bc988b093 Refine folder structure; add rapidjson as submodule. 2018-04-10 17:34:00 +08:00