 Chunting GuandGitHub
|
062c5cfc0e
|
Update README.md
|
2019-04-16 14:29:18 +08:00 |
|
 Chunting GuandGitHub
|
e434dc9fc8
|
Add more examples; remove SOAP.
|
2019-04-16 14:27:59 +08:00 |
|
Chunting Gu
|
e63dc748ab
|
Remove SOAP support
|
2019-04-16 13:04:42 +08:00 |
|
Chunting Gu
|
b72820c9c5
|
Add UT for http parser.
|
2019-04-16 11:11:50 +08:00 |
|
Chunting Gu
|
ddfcecccc6
|
Add automation test for http client based on httpbin.org
|
2019-04-15 16:59:43 +08:00 |
|
Chunting Gu
|
df4bb33bd8
|
Fix content-type parsing issue; refine http parser.
|
2019-04-15 12:53:43 +08:00 |
|
Chunting Gu
|
5e1b14e74d
|
Add a config option allowing to disable SSL.
|
2019-04-15 10:07:04 +08:00 |
|
Chunting Gu
|
d9509bda4a
|
Refine form data
|
2019-04-12 17:10:12 +08:00 |
|
Chunting Gu
|
a96109c3b7
|
Remove HttpFile to FormPart; refine payload prepare.
|
2019-04-12 14:18:23 +08:00 |
|
Chunting Gu
|
80d0c73617
|
Simplify RestRequest struct.
|
2019-04-12 09:48:13 +08:00 |
|
Chunting Gu
|
5c465a1e2d
|
Support file upload in server side.
|
2019-04-11 17:35:09 +08:00 |
|
Chunting Gu
|
5f9532759e
|
Refine files upload.
|
2019-04-10 13:48:33 +08:00 |
|
Chunting Gu
|
ba705e930e
|
Add VS2013 support back.
|
2019-04-09 15:39:58 +08:00 |
|
Chunting Gu
|
ee435f84c3
|
Refine the response for bad request.
|
2019-04-09 13:02:21 +08:00 |
|
Chunting Gu
|
37e71c6aca
|
Refine logger for colors
|
2019-04-09 11:14:45 +08:00 |
|
Chunting Gu
|
0ad277322f
|
Support terminal colors for logger.
|
2019-04-07 12:25:56 +08:00 |
|
Chunting Gu
|
6f7acfc442
|
Refine the support for uploading files.
|
2019-04-04 17:36:06 +08:00 |
|
Chunting Gu
|
d1ddfa4b3d
|
Add basic auth support to the client; rename methods of HttpRequestBuilder.
|
2019-04-01 17:42:28 +08:00 |
|
Chunting Gu
|
a8e86dec5e
|
Post/upload files support.
|
2019-03-28 17:23:48 +08:00 |
|
Chunting Gu
|
18db152419
|
Add base64 encode and decode.
|
2019-03-27 14:06:22 +08:00 |
|
Chunting Gu
|
ee56fe9d1b
|
Only allow session-level setting for ssl_verify and buffer_size.
|
2019-03-26 09:55:17 +08:00 |
|
Chunting Gu
|
6c5dedb807
|
Support persistent connection for server.
|
2019-03-25 18:16:58 +08:00 |
|
Chunting Gu
|
6c4ac75c35
|
Add comment to HttpClientSession about the usage in multi-thread scenario.
|
2019-03-25 11:11:53 +08:00 |
|
Chunting Gu
|
3b7f4ecacf
|
Add shortcuts for GET, POST, etc. to HttpClientSession.
|
2019-03-22 16:11:01 +08:00 |
|
Chunting Gu
|
52231d52e6
|
Add a missing source file; update README.
|
2019-03-22 10:43:06 +08:00 |
|
Chunting Gu
|
da1dbbb073
|
Add HttpRequestBuilder to replace HttpRequestArgs
|
2019-03-22 10:17:27 +08:00 |
|
Chunting Gu
|
d906470a4a
|
Support request and response compression.
|
2019-03-20 17:47:45 +08:00 |
|
Chunting Gu
|
f6c305d266
|
Add keep_alive() to HttpClientArgs
|
2019-03-19 16:38:29 +08:00 |
|
Chunting Gu
|
5853f39ac3
|
Stop deadline timer once start to read response.
|
2019-03-19 16:19:37 +08:00 |
|
Chunting Gu
|
99e02927b7
|
Reconnect and retry the request if server has closed the reused connection.
|
2019-03-19 15:34:54 +08:00 |
|
Chunting Gu
|
3566b1d98b
|
Add timeout setting HttpClientSession.
|
2019-03-19 12:37:15 +08:00 |
|
Chunting Gu
|
53fb2a92c9
|
Add buffer size to HttpClientSession
|
2019-03-19 12:27:25 +08:00 |
|
Chunting Gu
|
bc586c3ea0
|
Handle zlib on Ubuntu.
|
2019-03-19 09:57:18 +08:00 |
|
Chunting Gu
|
5f64f3bb62
|
Add zlib to support content-encoding (gzip, deflate)
|
2019-03-19 09:36:35 +08:00 |
|
Chunting Gu
|
616f5a3f5e
|
Reorganize examples; fix soap issues.
|
2019-03-15 14:40:36 +08:00 |
|
Chunting Gu
|
05782b773a
|
Refine client session and its examples.
|
2019-03-13 13:46:22 +08:00 |
|
Chunting Gu
|
5abd7e275c
|
Refine keep-alive connections.
|
2019-03-12 17:39:15 +08:00 |
|
Chunting Gu
|
901b2902a2
|
Merge HttpClient and HttpSslClient; draft of client connection pool.
|
2019-03-11 14:44:52 +08:00 |
|
Chunting Gu
|
0db366bfe0
|
Drop the support of VS2013
|
2019-03-08 14:14:33 +08:00 |
|
Chunting Gu
|
3647407b8b
|
Throw exception from inside HttpClientSession.Request().
|
2019-03-08 11:06:19 +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
|
b38b7e6d38
|
Breaking changes on the client, push only for keeping the history.
|
2019-03-01 09:29:03 +08:00 |
|
Chunting Gu
|
d42556ce5a
|
Forbit to create http async clients on stack since they are derived from std::shared_from_this.
|
2019-02-25 10:31:28 +08:00 |
|
Chunting Gu
|
43eaf90621
|
Add a base class for http async clients; refine examples.
|
2019-02-12 17:06:26 +08:00 |
|
Chunting Gu
|
9ecec5de0b
|
Add a base class for HttpClient and HttpSslClient to eliminate duplicate code.
|
2019-02-11 14:56:45 +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
|
ae9d4efcf1
|
Abdandon the template RestBasicClient.
|
2019-02-01 14:50:06 +08:00 |
|
Chunting Gu
|
360d09508e
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2019-01-31 18:10:27 +08:00 |
|
Chunting Gu
|
8d9855f751
|
Support chunked response content (but no Trailer headers).
|
2019-01-31 18:10:12 +08:00 |
|
 Chunting GuandGitHub
|
12d933fb54
|
Remove REST Server quick start; Add links of wiki.
|
2019-01-31 10:18:15 +08:00 |
|
Chunting Gu
|
01c7a6e328
|
Remove the outdated screenshot about logging preproc for VS.
|
2019-01-30 10:23:26 +08:00 |
|
Chunting Gu
|
48241a269f
|
Fix the typo of 'splitted'; remove compile_commands.json.
|
2019-01-30 09:58:25 +08:00 |
|
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 |
|