Commit Graph
54 Commits
Author SHA1 Message Date
UnknownObject 74685e4c24 优化文件上传速度,增加请求头预校验功能 2026-08-05 11:44:57 +08:00
UnknownObject e0f8a4da37 upload all 2022-09-05 13:31:32 +08:00
Chunting Gu 26bb6b341a introduce string_view 2021-06-17 18:58:53 +08:00
Chunting Gu 751a3539ae delete copy constructor and operator assign for most classes 2021-06-15 18:52:53 +08:00
Chunting Gu 12971b7df3 fix session cancel issue 2021-06-09 15:14:18 +08:00
Chunting Gu df96f969bc add a cmake option to switch between std and boost filesystem 2021-05-27 11:15:08 +08:00
Chunting Gu f5210ba1a2 rework client using async api 2021-04-16 19:07:31 +08:00
Chunting Gu d49db1ec9c switch asio from standalone to boost 2020-08-31 14:57:47 +08:00
Chunting Gu 718392fa9e replace boost.asio with standalone asio. 2020-02-20 10:43:46 +08:00
Chunting Gu 1e3c2b2604 don't use boost string algorithm 2020-02-18 09:49:45 +08:00
Chunting Gu 7e7ab1c1e8 replace boost filesystem with std filesystem; upgrade gtest and find it using cmake. 2020-02-15 12:04:51 +08:00
Chunting Gu 673a98cffb Allow to stop server and restart server; allow to run loop in multiple threads. 2019-07-30 10:35:51 +08:00
Chunting Gu 46ea52cb90 Refine the connection close 2019-07-15 15:36:30 +08:00
Chunting Gu b2cbc450b8 Fix payload iteration issue of FormBody; Log form body; ignore body for response of HEAD. 2019-07-09 13:18:55 +08:00
Chunting Gu 98aeeae012 Rework the body of request and response 2019-07-03 17:37:44 +08:00
Chunting Gu a3cab444dc Server API rework. 2019-06-26 17:34:39 +08:00
Chunting Gu 4140b4f94c Rework the server to remove rest_xxx classes. 2019-06-21 13:53:00 +08:00
Chunting Gu 8c09189b14 Rework the client error handling 2019-06-10 12:00:57 +08:00
Chunting Gu 22b209d13e Allow to add Date header to the request. 2019-06-06 13:32:46 +08:00
Chunting Gu 7af95778f5 Rework the prepare of response status line 2019-06-04 10:14:41 +08:00
Chunting Gu 2a868c4dc1 Add an option to disable GZIP. 2019-04-22 14:43:46 +08:00
Chunting Gu e621025cc3 Remove http prefix 2019-04-18 13:40:36 +08:00
Chunting Gu 5553a70603 Remove two error codes 2019-04-16 16:59:58 +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 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 3b7f4ecacf Add shortcuts for GET, POST, etc. to HttpClientSession. 2019-03-22 16:11:01 +08:00
Chunting Gu d906470a4a Support request and response compression. 2019-03-20 17:47:45 +08:00
Chunting Gu 53fb2a92c9 Add buffer size to HttpClientSession 2019-03-19 12:27:25 +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 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 9b8304f06c Initial client API V2 2019-03-06 11:13:33 +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 8d9855f751 Support chunked response content (but no Trailer headers). 2019-01-31 18:10:12 +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 76417c3703 Rework the parsing of soap response. 2018-09-20 15:24:54 +08:00
Chunting Gu 87ead87527 Rename HttpConnection to HttpSession; refine error messages. 2018-09-10 10:31:41 +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
Adam Gu e9096d4e53 Refine timeout control; refine rest book examples. 2018-08-23 17:28:02 +08:00
Adam Gu 3ba0ddbba1 Support combined host and port. 2018-08-01 12:32:53 +08:00
Adam Gu 3693d881c7 Refacotring; support HTTPs client. 2018-07-30 15:03:02 +08:00