Commit Graph
29 Commits
Author SHA1 Message Date
Chunting Gu ef252c9f74 Fix SSL client issue. 2018-09-19 15:53:10 +08:00
Chunting Gu 87ead87527 Rename HttpConnection to HttpSession; refine error messages. 2018-09-10 10:31:41 +08:00
Chunting Gu 3cab68cf33 Rename async functions and the handlers like DoXxx, OnXxx. 2018-09-10 10:03:24 +08:00
Chunting Gu 294cc74535 Fix dead loop of HttpClient on Linux; Allow to call Request() multiple times on the same HttpClient object. 2018-09-09 11:45:23 +08:00
Chunting Gu afc1b37f37 Use gettid() to get thread ID for logger on Linux. 2018-09-08 23:28:24 +08:00
Chunting Gu 686b415fb7 Refine the initialization of server's acceptor. 2018-09-07 13:34:33 +08:00
Chunting Gu 921defc0e3 Use HttpClient as member variable inside RestClient and SoapClient. 2018-09-06 14:18:02 +08:00
Chunting Gu d2e2935f9d Move soap specific definitions to separate files 2018-09-05 15:59:21 +08:00
Chunting Gu cff4888182 Add a macro to allow default move copy constructor and assignment operator above VS2013. 2018-09-05 15:41:16 +08:00
Chunting Gu 7f692a9602 Refine REST book examples. 2018-08-28 13:03:25 +08:00
Adam Gu a863b379d0 Refactor RestService interfaces. 2018-08-24 16:51:08 +08:00
Adam Gu e9096d4e53 Refine timeout control; refine rest book examples. 2018-08-23 17:28:02 +08:00
Chunting Gu 2e2b45dd43 Fix a segment fault of logger. 2018-08-23 09:46:09 +08:00
Adam Gu 08ba4a01ef Rename SoapParameter (of UrlQuery) to Parameter. 2018-08-21 10:45:18 +08:00
Adam Gu 31cfac65e8 Encode URL queries. 2018-08-10 10:22:06 +08:00
Chunting Gu 1b7e1378b4 Replace boost thread with std thread for queue; refine cmake files. 2018-08-04 11:32:29 +08:00
Adam Gu ab781a691f Add SoapAsyncClient. 2018-08-03 16:59:23 +08:00
Adam Gu 6809ab7d2a Basic CMake installation. 2018-08-03 09:42:46 +08:00
Adam Gu 3ba0ddbba1 Support combined host and port. 2018-08-01 12:32:53 +08:00
Adam Gu e368ad2efb Close the socket after shutdown. 2018-07-31 10:50:11 +08:00
Adam Gu 3693d881c7 Refacotring; support HTTPs client. 2018-07-30 15:03:02 +08:00
Adam Gu 33f2b84f8c Replace boost thread with std thread; update rest book example; move soap tutorials to wiki. 2018-07-23 15:40:58 +08:00
Adam Gu 6475a3fd35 Use composite instead of inheritance for SoapClient. 2018-07-19 13:52:20 +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 9b3be4c18c Refine the parsing of start line; return 201 instead of 200 for POST request. 2018-07-13 13:08:36 +08:00
Adam Gu 9bf4bc3f4b Refine the handling of content and content length. 2018-07-10 17:25:17 +08:00
Adam Gu 9b35d0f06c Rework the http header parsing. 2018-07-10 16:27:10 +08:00
Adam Gu cbf3efbcba Refine HTTP request and response. 2018-07-10 11:02:49 +08:00
Adam Gu 88511caff6 Reorganize folder structure. 2018-07-06 13:59:16 +08:00