Chunting Gu
|
d328f3a957
|
Fix CMake issues
|
2019-01-30 09:56:07 +08:00 |
|
Chunting Gu
|
7f16d30165
|
Add an example for HttpBin.org
|
2019-01-28 15:24:40 +08:00 |
|
Chunting Gu
|
c6717bd5ff
|
Add an example config.h file.
|
2018-11-21 11:12:31 +08:00 |
|
 Chunting GuandGitHub
|
40a874a6ba
|
Update build instructions.
|
2018-11-21 11:11:46 +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 |
|
Chunting Gu
|
964d21748a
|
Rename BasicRestClient to RestBasicClient.
|
2018-11-13 13:00:23 +08:00 |
|
Chunting Gu
|
e862153657
|
Add Server and Date fields to HTTP header of response.
|
2018-11-05 13:34:18 +08:00 |
|
Chunting Gu
|
364a37899d
|
Add clang format config file.
|
2018-11-02 17:21:00 +08:00 |
|
Chunting Gu
|
09ae5b4a2f
|
Add a space between literal and string macro to eliminate warning under G++.
|
2018-10-22 22:13:48 +08:00 |
|
Chunting Gu
|
6a51be172a
|
Automatically install VLD to example output folder.
|
2018-10-18 11:21:15 +08:00 |
|
Chunting Gu
|
c424e2b690
|
Add an option allowing to switch off CMake install.
|
2018-10-18 10:31:05 +08:00 |
|
Chunting Gu
|
e3e9a22181
|
Limit the HTTP body content to dump/log.
|
2018-10-11 14:32:34 +08:00 |
|
Chunting Gu
|
d159ce46bf
|
Add RestSslClient; add User-Agent header.
|
2018-10-11 12:47:47 +08:00 |
|
Chunting Gu
|
b02ea902c9
|
Improve the response result composition.
|
2018-09-27 17:05:29 +08:00 |
|
Chunting Gu
|
76417c3703
|
Rework the parsing of soap response.
|
2018-09-20 15:24:54 +08:00 |
|
Chunting Gu
|
f5fe4e67f7
|
Support to use SOAP 1.1 or 1.2.
|
2018-09-19 21:39:32 +08:00 |
|
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
|
c0b61a31a2
|
Update the example in README.md.
|
2018-09-09 11:53:51 +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
|
c7bcb07f17
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2018-09-07 13:35:14 +08:00 |
|
Chunting Gu
|
686b415fb7
|
Refine the initialization of server's acceptor.
|
2018-09-07 13:34:33 +08:00 |
|
 Chunting GuandGitHub
|
d3ff3829b9
|
Update README.md
|
2018-09-07 11:01:48 +08:00 |
|
 Chunting GuandGitHub
|
2c314a0174
|
Create LICENSE
|
2018-09-07 11:01:11 +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
|
74172b5b0c
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2018-08-28 13:04:35 +08:00 |
|
Chunting Gu
|
7f692a9602
|
Refine REST book examples.
|
2018-08-28 13:03:25 +08:00 |
|
 Chunting GuandGitHub
|
17f8579bf5
|
Add a description of the naming.
|
2018-08-24 17:19:02 +08:00 |
|
 Chunting GuandGitHub
|
1442af3ea4
|
Fix typos of README.
|
2018-08-24 17:11:48 +08:00 |
|
Chunting Gu
|
11551a0193
|
Update example in the README.
|
2018-08-24 17:07:07 +08:00 |
|
Chunting Gu
|
6cb94b0af0
|
Delete .gitmodules
|
2018-08-24 16:56:57 +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
|
8faa45defe
|
Set policy CMP0074 to eliminate CMake warning.
|
2018-08-21 11:00:22 +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 GuandGitHub
|
87420871ba
|
Fix a link error.
|
2018-08-04 12:27:28 +08:00 |
|
Chunting Gu
|
bda77089c1
|
Update README on build instructions.
|
2018-08-04 11:56:47 +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
|
5fd5d8ff15
|
Add HTTP SSL client exmaple.
|
2018-07-30 15:30:16 +08:00 |
|
Adam Gu
|
3693d881c7
|
Refacotring; support HTTPs client.
|
2018-07-30 15:03:02 +08:00 |
|
Adam Gu
|
8a92fcb950
|
Add config file for cpplint.
|
2018-07-23 15:52:45 +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
|
23d948cebb
|
Add image resources for wiki.
|
2018-07-13 13:09:17 +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 |
|
Adam Gu
|
3b13cc74f7
|
Code refactoring.
|
2018-07-06 11:01:23 +08:00 |
|
Adam Gu
|
1d64421e33
|
Fix a logger init issue.
|
2018-07-05 17:12:13 +08:00 |
|
Adam Gu
|
b85377c3a3
|
Optimize memory allocation for client buffer; add VLD to detect memory on Windows.
|
2018-07-05 16:07:26 +08:00 |
|
Adam Gu
|
7280b09f10
|
Add file log support
|
2018-07-03 14:01:47 +08:00 |
|
Adam Gu
|
44271eb2cc
|
Fix async client issues.
|
2018-06-14 17:21:24 +08:00 |
|
Adam Gu
|
781121aea3
|
Update README
|
2018-06-12 15:56:08 +08:00 |
|
Adam Gu
|
02b217abda
|
Verify Ctrl+C works.
|
2018-06-12 15:49:30 +08:00 |
|
Adam Gu
|
10607afa70
|
Add a string variable to CMake to configure log level.
|
2018-06-07 17:22:21 +08:00 |
|
Adam Gu
|
21c20b075f
|
Switch log level control from runtime to compile time
|
2018-06-07 10:18:26 +08:00 |
|
Adam Gu
|
1c861c8f5d
|
Add timestamp to logger; move soap result to avoid string copy.
|
2018-06-06 16:01:16 +08:00 |
|
Adam Gu
|
2cc22a80a6
|
Fix an issue of receiving response; refine error handling.
|
2018-06-05 15:00:49 +08:00 |
|
Adam Gu
|
6a7aa4cc12
|
Rename HttpSession back to HttpConnection.
|
2018-06-04 13:07:04 +08:00 |
|
Adam Gu
|
9bf45e6ecb
|
Add async-client support; refine http message dump format.
|
2018-06-04 12:03:22 +08:00 |
|
Adam Gu
|
79665c75ba
|
Pass pugi xml_mode by value; refine coding style.
|
2018-05-23 13:07:17 +08:00 |
|
Chunting Gu
|
b41dfcebd9
|
Fix style warnings reported by cpplint.
|
2018-05-23 11:03:39 +08:00 |
|
Adam Gu
|
0d7d2ac8ec
|
Update quick example in README.
|
2018-05-22 15:48:53 +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
|
189a246221
|
Add RestListService and RestDetailService; update README.
|
2018-05-12 19:09:37 +08:00 |
|
Chunting Gu
|
5e6f125f90
|
Fix compile errors on Linux.
|
2018-05-12 09:05:11 +08:00 |
|
Adam Gu
|
b6ebba771b
|
Refine logger; add UrlQuery for query parameters.
|
2018-05-11 17:14:32 +08:00 |
|
Adam Gu
|
2496862fa0
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2018-05-09 17:10:23 +08:00 |
|
Adam Gu
|
81ed82a302
|
Update readme
|
2018-05-09 17:07:58 +08:00 |
|
Adam Gu
|
325a824883
|
Update readme
|
2018-04-25 14:43:45 +08:00 |
|
Adam Gu
|
662b7c4112
|
Add console logger to replace original debug output.
|
2018-04-24 17:24:55 +08:00 |
|
Adam Gu
|
bcfb1e4c92
|
Add query parameters to RestService::Handle()
|
2018-04-23 13:22:59 +08:00 |
|
Chunting Gu
|
f921256a33
|
Finish the REST example.
|
2018-04-15 15:27:08 +08:00 |
|
Adam Gu
|
97d9403c1b
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2018-04-13 17:52:51 +08:00 |
|
Adam Gu
|
4e35648b29
|
Refine the REST examples; refine the http message parsing.
|
2018-04-13 17:52:40 +08:00 |
|
Chunting Gu
|
20721c2423
|
Refine CMake, update UT.
|
2018-04-13 12:50:39 +08:00 |
|
Adam Gu
|
803ae3eb5f
|
Replace rapidjson with jsoncpp.
|
2018-04-12 11:28:22 +08:00 |
|
Adam Gu
|
919fa54a98
|
Refine the draft timeout control from server side.
|
2018-04-12 09:21:04 +08:00 |
|
Adam Gu
|
fb37d759a0
|
Update SOAP server tutorial.
|
2018-04-12 09:09:56 +08:00 |
|
Adam Gu
|
9185d230ad
|
Update the SOAP server tutorial.
|
2018-04-11 14:36:38 +08:00 |
|
Adam Gu
|
63e9e87f4f
|
Update README and tutorials.
|
2018-04-11 10:37:11 +08:00 |
|
Adam Gu
|
5bc988b093
|
Refine folder structure; add rapidjson as submodule.
|
2018-04-10 17:34:00 +08:00 |
|
Adam Gu
|
9abf8d99d5
|
Refine the REST book server example.
|
2018-04-09 17:21:46 +08:00 |
|
Adam Gu
|
e2bf8aaaf4
|
Add timeout control to http server (draft)
|
2018-04-09 16:53:47 +08:00 |
|
Chunting Gu
|
23090ee369
|
Enable C++11 on GCC; Link boost libs and pthread on GCC.
|
2018-04-07 11:05:14 +08:00 |
|
Adam Gu
|
c557430b8e
|
Refine REST support; add demo for REST client and server.
|
2018-04-04 17:26:27 +08:00 |
|