Chunting Gu
|
3b7f4ecacf
|
Add shortcuts for GET, POST, etc. to HttpClientSession.
|
6 years ago |
Chunting Gu
|
52231d52e6
|
Add a missing source file; update README.
|
6 years ago |
Chunting Gu
|
da1dbbb073
|
Add HttpRequestBuilder to replace HttpRequestArgs
|
6 years ago |
Chunting Gu
|
d906470a4a
|
Support request and response compression.
|
6 years ago |
Chunting Gu
|
f6c305d266
|
Add keep_alive() to HttpClientArgs
|
6 years ago |
Chunting Gu
|
5853f39ac3
|
Stop deadline timer once start to read response.
|
6 years ago |
Chunting Gu
|
99e02927b7
|
Reconnect and retry the request if server has closed the reused connection.
|
6 years ago |
Chunting Gu
|
3566b1d98b
|
Add timeout setting HttpClientSession.
|
6 years ago |
Chunting Gu
|
53fb2a92c9
|
Add buffer size to HttpClientSession
|
6 years ago |
Chunting Gu
|
bc586c3ea0
|
Handle zlib on Ubuntu.
|
6 years ago |
Chunting Gu
|
5f64f3bb62
|
Add zlib to support content-encoding (gzip, deflate)
|
6 years ago |
Chunting Gu
|
616f5a3f5e
|
Reorganize examples; fix soap issues.
|
6 years ago |
Chunting Gu
|
05782b773a
|
Refine client session and its examples.
|
6 years ago |
Chunting Gu
|
5abd7e275c
|
Refine keep-alive connections.
|
6 years ago |
Chunting Gu
|
901b2902a2
|
Merge HttpClient and HttpSslClient; draft of client connection pool.
|
6 years ago |
Chunting Gu
|
0db366bfe0
|
Drop the support of VS2013
|
6 years ago |
Chunting Gu
|
3647407b8b
|
Throw exception from inside HttpClientSession.Request().
|
6 years ago |
Chunting Gu
|
31d0ea3c9d
|
Cleanup async client APIs.
|
6 years ago |
Chunting Gu
|
ffa0794926
|
Handle both HTTP & HTTPS in HttpClientSession; remove macro WEBCC_ENABLE_SSL.
|
6 years ago |
Chunting Gu
|
9b8304f06c
|
Initial client API V2
|
6 years ago |
Chunting Gu
|
b38b7e6d38
|
Breaking changes on the client, push only for keeping the history.
|
6 years ago |
Chunting Gu
|
d42556ce5a
|
Forbit to create http async clients on stack since they are derived from std::shared_from_this.
|
6 years ago |
Chunting Gu
|
43eaf90621
|
Add a base class for http async clients; refine examples.
|
7 years ago |
Chunting Gu
|
9ecec5de0b
|
Add a base class for HttpClient and HttpSslClient to eliminate duplicate code.
|
7 years ago |
Chunting Gu
|
3e60c76da1
|
Allow to set buffer size for client; don't auto adjust reading buffer size; refine the global definitions.
|
7 years ago |
Chunting Gu
|
ae9d4efcf1
|
Abdandon the template RestBasicClient.
|
7 years ago |
Chunting Gu
|
8d9855f751
|
Support chunked response content (but no Trailer headers).
|
7 years ago |
Chunting Gu
|
48241a269f
|
Fix the typo of 'splitted'; remove compile_commands.json.
|
7 years ago |
Chunting Gu
|
c6717bd5ff
|
Add an example config.h file.
|
7 years ago |
Chunting Gu
|
8c53b24bb7
|
Add config.h.in which produces the config.h on CMake configure.
|
7 years ago |
Chunting Gu
|
964d21748a
|
Rename BasicRestClient to RestBasicClient.
|
7 years ago |
Chunting Gu
|
e862153657
|
Add Server and Date fields to HTTP header of response.
|
7 years ago |
Chunting Gu
|
364a37899d
|
Add clang format config file.
|
7 years ago |
Chunting Gu
|
09ae5b4a2f
|
Add a space between literal and string macro to eliminate warning under G++.
|
7 years ago |
Chunting Gu
|
c424e2b690
|
Add an option allowing to switch off CMake install.
|
7 years ago |
Chunting Gu
|
e3e9a22181
|
Limit the HTTP body content to dump/log.
|
7 years ago |
Chunting Gu
|
d159ce46bf
|
Add RestSslClient; add User-Agent header.
|
7 years ago |
Chunting Gu
|
b02ea902c9
|
Improve the response result composition.
|
7 years ago |
Chunting Gu
|
76417c3703
|
Rework the parsing of soap response.
|
7 years ago |
Chunting Gu
|
f5fe4e67f7
|
Support to use SOAP 1.1 or 1.2.
|
7 years ago |
Chunting Gu
|
ef252c9f74
|
Fix SSL client issue.
|
7 years ago |
Chunting Gu
|
87ead87527
|
Rename HttpConnection to HttpSession; refine error messages.
|
7 years ago |
Chunting Gu
|
3cab68cf33
|
Rename async functions and the handlers like DoXxx, OnXxx.
|
7 years ago |
Chunting Gu
|
294cc74535
|
Fix dead loop of HttpClient on Linux; Allow to call Request() multiple times on the same HttpClient object.
|
7 years ago |
Chunting Gu
|
afc1b37f37
|
Use gettid() to get thread ID for logger on Linux.
|
7 years ago |
Chunting Gu
|
686b415fb7
|
Refine the initialization of server's acceptor.
|
7 years ago |
Chunting Gu
|
921defc0e3
|
Use HttpClient as member variable inside RestClient and SoapClient.
|
7 years ago |
Chunting Gu
|
d2e2935f9d
|
Move soap specific definitions to separate files
|
7 years ago |
Chunting Gu
|
cff4888182
|
Add a macro to allow default move copy constructor and assignment operator above VS2013.
|
7 years ago |
Chunting Gu
|
7f692a9602
|
Refine REST book examples.
|
7 years ago |