Commit Graph

  • 4f6b33b4ba
    Remove build instructions Chunting Gu 2019-04-17 18:38:20 +0800
  • ba9f6c4c23 Rename test to autotest Chunting Gu 2019-04-17 17:05:29 +0800
  • de4574a437 Refine multipart form. Chunting Gu 2019-04-17 16:09:16 +0800
  • 3742143657 Refine authorization. Chunting Gu 2019-04-16 17:38:27 +0800
  • 8b6ce4a0c1 Merge branch 'master' of https://github.com/sprinfall/webcc Chunting Gu 2019-04-16 17:25:07 +0800
  • 5553a70603 Remove two error codes Chunting Gu 2019-04-16 16:59:58 +0800
  • 6ffd73bf0d
    Update README.md Chunting Gu 2019-04-16 14:46:23 +0800
  • 062c5cfc0e
    Update README.md Chunting Gu 2019-04-16 14:29:18 +0800
  • e434dc9fc8
    Add more examples; remove SOAP. Chunting Gu 2019-04-16 14:27:59 +0800
  • e63dc748ab Remove SOAP support Chunting Gu 2019-04-16 13:04:42 +0800
  • b72820c9c5 Add UT for http parser. Chunting Gu 2019-04-16 11:11:50 +0800
  • ddfcecccc6 Add automation test for http client based on httpbin.org Chunting Gu 2019-04-15 16:59:43 +0800
  • df4bb33bd8 Fix content-type parsing issue; refine http parser. Chunting Gu 2019-04-15 12:53:43 +0800
  • 5e1b14e74d Add a config option allowing to disable SSL. Chunting Gu 2019-04-15 10:07:04 +0800
  • d9509bda4a Refine form data Chunting Gu 2019-04-12 17:10:12 +0800
  • a96109c3b7 Remove HttpFile to FormPart; refine payload prepare. Chunting Gu 2019-04-12 14:18:23 +0800
  • 80d0c73617 Simplify RestRequest struct. Chunting Gu 2019-04-12 09:48:13 +0800
  • 5c465a1e2d Support file upload in server side. Chunting Gu 2019-04-11 17:35:09 +0800
  • 5f9532759e Refine files upload. Chunting Gu 2019-04-10 13:48:33 +0800
  • ba705e930e Add VS2013 support back. Chunting Gu 2019-04-09 15:39:58 +0800
  • ee435f84c3 Refine the response for bad request. Chunting Gu 2019-04-09 13:02:21 +0800
  • 37e71c6aca Refine logger for colors Chunting Gu 2019-04-09 11:14:45 +0800
  • 0ad277322f Support terminal colors for logger. Chunting Gu 2019-04-07 12:25:56 +0800
  • 6f7acfc442 Refine the support for uploading files. Chunting Gu 2019-04-04 17:36:06 +0800
  • d1ddfa4b3d Add basic auth support to the client; rename methods of HttpRequestBuilder. Chunting Gu 2019-04-01 17:42:28 +0800
  • a8e86dec5e Post/upload files support. Chunting Gu 2019-03-28 17:23:48 +0800
  • 18db152419 Add base64 encode and decode. Chunting Gu 2019-03-27 14:06:22 +0800
  • ee56fe9d1b Only allow session-level setting for ssl_verify and buffer_size. Chunting Gu 2019-03-26 09:55:17 +0800
  • 6c5dedb807 Support persistent connection for server. Chunting Gu 2019-03-25 18:16:58 +0800
  • 6c4ac75c35 Add comment to HttpClientSession about the usage in multi-thread scenario. Chunting Gu 2019-03-25 11:11:53 +0800
  • 3b7f4ecacf Add shortcuts for GET, POST, etc. to HttpClientSession. Chunting Gu 2019-03-22 16:11:01 +0800
  • 52231d52e6 Add a missing source file; update README. Chunting Gu 2019-03-22 10:43:06 +0800
  • da1dbbb073 Add HttpRequestBuilder to replace HttpRequestArgs Chunting Gu 2019-03-22 10:17:27 +0800
  • d906470a4a Support request and response compression. Chunting Gu 2019-03-20 17:47:45 +0800
  • f6c305d266 Add keep_alive() to HttpClientArgs Chunting Gu 2019-03-19 16:38:29 +0800
  • 5853f39ac3 Stop deadline timer once start to read response. Chunting Gu 2019-03-19 16:19:37 +0800
  • 99e02927b7 Reconnect and retry the request if server has closed the reused connection. Chunting Gu 2019-03-19 15:34:54 +0800
  • 3566b1d98b Add timeout setting HttpClientSession. Chunting Gu 2019-03-19 12:37:15 +0800
  • 53fb2a92c9 Add buffer size to HttpClientSession Chunting Gu 2019-03-19 12:27:25 +0800
  • bc586c3ea0 Handle zlib on Ubuntu. Chunting Gu 2019-03-19 09:57:18 +0800
  • 5f64f3bb62 Add zlib to support content-encoding (gzip, deflate) Chunting Gu 2019-03-19 09:36:35 +0800
  • 616f5a3f5e Reorganize examples; fix soap issues. Chunting Gu 2019-03-15 14:40:36 +0800
  • 05782b773a Refine client session and its examples. Chunting Gu 2019-03-13 13:46:22 +0800
  • 5abd7e275c Refine keep-alive connections. Chunting Gu 2019-03-12 17:39:15 +0800
  • 901b2902a2 Merge HttpClient and HttpSslClient; draft of client connection pool. Chunting Gu 2019-03-11 14:44:52 +0800
  • 0db366bfe0 Drop the support of VS2013 Chunting Gu 2019-03-08 14:14:33 +0800
  • 3647407b8b Throw exception from inside HttpClientSession.Request(). Chunting Gu 2019-03-08 11:06:19 +0800
  • 31d0ea3c9d Cleanup async client APIs. Chunting Gu 2019-03-07 16:02:49 +0800
  • ffa0794926 Handle both HTTP & HTTPS in HttpClientSession; remove macro WEBCC_ENABLE_SSL. Chunting Gu 2019-03-06 13:46:19 +0800
  • 9b8304f06c Initial client API V2 Chunting Gu 2019-03-06 11:13:33 +0800
  • b38b7e6d38 Breaking changes on the client, push only for keeping the history. Chunting Gu 2019-03-01 09:29:03 +0800
  • d42556ce5a Forbit to create http async clients on stack since they are derived from std::shared_from_this. Chunting Gu 2019-02-25 10:31:28 +0800
  • 43eaf90621 Add a base class for http async clients; refine examples. Chunting Gu 2019-02-12 17:06:26 +0800
  • 9ecec5de0b Add a base class for HttpClient and HttpSslClient to eliminate duplicate code. Chunting Gu 2019-02-11 14:56:45 +0800
  • 3e60c76da1 Allow to set buffer size for client; don't auto adjust reading buffer size; refine the global definitions. Chunting Gu 2019-02-11 12:46:27 +0800
  • ae9d4efcf1 Abdandon the template RestBasicClient. Chunting Gu 2019-02-01 14:50:06 +0800
  • 360d09508e Merge branch 'master' of https://github.com/sprinfall/webcc Chunting Gu 2019-01-31 18:10:27 +0800
  • 8d9855f751 Support chunked response content (but no Trailer headers). Chunting Gu 2019-01-31 18:10:12 +0800
  • 12d933fb54
    Remove REST Server quick start; Add links of wiki. Chunting Gu 2019-01-31 10:18:15 +0800
  • 01c7a6e328 Remove the outdated screenshot about logging preproc for VS. Chunting Gu 2019-01-30 10:23:26 +0800
  • 48241a269f Fix the typo of 'splitted'; remove compile_commands.json. Chunting Gu 2019-01-30 09:58:25 +0800
  • d328f3a957 Fix CMake issues Chunting Gu 2019-01-30 09:56:07 +0800
  • 7f16d30165 Add an example for HttpBin.org Chunting Gu 2019-01-28 15:24:40 +0800
  • c6717bd5ff Add an example config.h file. Chunting Gu 2018-11-21 11:12:31 +0800
  • 40a874a6ba
    Update build instructions. Chunting Gu 2018-11-21 11:11:46 +0800
  • 8c53b24bb7 Add config.h.in which produces the config.h on CMake configure. Chunting Gu 2018-11-20 17:04:47 +0800
  • 964d21748a Rename BasicRestClient to RestBasicClient. Chunting Gu 2018-11-13 13:00:23 +0800
  • e862153657 Add Server and Date fields to HTTP header of response. Chunting Gu 2018-11-05 13:34:18 +0800
  • 364a37899d Add clang format config file. Chunting Gu 2018-11-02 17:21:00 +0800
  • 09ae5b4a2f Add a space between literal and string macro to eliminate warning under G++. Chunting Gu 2018-10-22 22:13:48 +0800
  • 6a51be172a Automatically install VLD to example output folder. Chunting Gu 2018-10-18 11:21:15 +0800
  • c424e2b690 Add an option allowing to switch off CMake install. Chunting Gu 2018-10-18 10:31:05 +0800
  • e3e9a22181 Limit the HTTP body content to dump/log. Chunting Gu 2018-10-11 14:32:34 +0800
  • d159ce46bf Add RestSslClient; add User-Agent header. Chunting Gu 2018-10-11 12:47:47 +0800
  • b02ea902c9 Improve the response result composition. Chunting Gu 2018-09-27 17:05:29 +0800
  • 76417c3703 Rework the parsing of soap response. Chunting Gu 2018-09-20 15:24:54 +0800
  • f5fe4e67f7 Support to use SOAP 1.1 or 1.2. Chunting Gu 2018-09-19 21:39:32 +0800
  • ef252c9f74 Fix SSL client issue. Chunting Gu 2018-09-19 15:53:10 +0800
  • 87ead87527 Rename HttpConnection to HttpSession; refine error messages. Chunting Gu 2018-09-10 10:31:41 +0800
  • 3cab68cf33 Rename async functions and the handlers like DoXxx, OnXxx. Chunting Gu 2018-09-10 10:03:24 +0800
  • c0b61a31a2 Update the example in README.md. Chunting Gu 2018-09-09 11:53:51 +0800
  • 294cc74535 Fix dead loop of HttpClient on Linux; Allow to call Request() multiple times on the same HttpClient object. Chunting Gu 2018-09-09 11:45:23 +0800
  • afc1b37f37 Use gettid() to get thread ID for logger on Linux. Chunting Gu 2018-09-08 23:28:24 +0800
  • c7bcb07f17 Merge branch 'master' of https://github.com/sprinfall/webcc Chunting Gu 2018-09-07 13:35:14 +0800
  • 686b415fb7 Refine the initialization of server's acceptor. Chunting Gu 2018-09-07 13:34:33 +0800
  • d3ff3829b9
    Update README.md Chunting Gu 2018-09-07 11:01:48 +0800
  • 2c314a0174
    Create LICENSE Chunting Gu 2018-09-07 11:01:11 +0800
  • 921defc0e3 Use HttpClient as member variable inside RestClient and SoapClient. Chunting Gu 2018-09-06 14:18:02 +0800
  • d2e2935f9d Move soap specific definitions to separate files Chunting Gu 2018-09-05 15:59:21 +0800
  • cff4888182 Add a macro to allow default move copy constructor and assignment operator above VS2013. Chunting Gu 2018-09-05 15:41:16 +0800
  • 74172b5b0c Merge branch 'master' of https://github.com/sprinfall/webcc Chunting Gu 2018-08-28 13:04:35 +0800
  • 7f692a9602 Refine REST book examples. Chunting Gu 2018-08-28 13:03:25 +0800
  • 17f8579bf5
    Add a description of the naming. Chunting Gu 2018-08-24 17:19:02 +0800
  • 1442af3ea4
    Fix typos of README. Chunting Gu 2018-08-24 17:11:48 +0800
  • 11551a0193 Update example in the README. Chunting Gu 2018-08-24 17:07:07 +0800
  • 6cb94b0af0 Delete .gitmodules Chunting Gu 2018-08-24 16:56:57 +0800
  • a863b379d0 Refactor RestService interfaces. Adam Gu 2018-08-24 16:51:08 +0800
  • e9096d4e53 Refine timeout control; refine rest book examples. Adam Gu 2018-08-23 17:28:02 +0800
  • 2e2b45dd43 Fix a segment fault of logger. Chunting Gu 2018-08-23 09:46:09 +0800
  • 8faa45defe Set policy CMP0074 to eliminate CMake warning. Adam Gu 2018-08-21 11:00:22 +0800