Commit Graph
24 Commits
Author SHA1 Message Date
Chunting Gu d294cda3c1 extract a new class SslClient 2021-06-23 10:03:11 +08:00
Chunting Gu 326a3ea215 check url scheme 2021-06-22 10:16:58 +08:00
Chunting Gu 26bb6b341a introduce string_view 2021-06-17 18:58:53 +08:00
Chunting Gu e27338854c fix ssl handshake and parsing issues 2021-06-15 17:09:04 +08:00
Chunting Gu 52fbba705b remove ssl_verify flag from client API, always use peer verify mode 2021-06-15 13:04:15 +08:00
Chunting Gu 12971b7df3 fix session cancel issue 2021-06-09 15:14:18 +08:00
Chunting Gu f5f72d7897 fix compile error on windows; fix compile error when ssl is off 2021-04-16 19:18:40 +08:00
Chunting Gu f5210ba1a2 rework client using async api 2021-04-16 19:07:31 +08:00
Chunting Gu 7f345b7a4e fix build option issues; refine cmake 2021-02-05 14:12:26 +08:00
Chunting Gu 1b8b0b24ac refine the usage of build options 2021-02-01 09:23:53 +08:00
Chunting Gu 7a09d47e8f accept-encoding default to identity even if gzip is enabled. 2020-09-14 13:25:04 +08:00
Chunting Gu 39ade6df4f add Accept() for Accept header to request builder 2020-08-10 09:48:30 +08:00
Chunting Gu 4c413e245d Allow to get the size of the queue. 2019-09-04 16:27:01 +08:00
Chunting Gu ad1016734e Rename Request() to Send(). 2019-08-26 12:13:25 +08:00
Chunting Gu 1a21989b2e Fix URL encoding issues; remove request shortcuts. 2019-08-23 14:51:41 +08:00
Chunting Gu feae9b7acc Refine the streaming, add UT, add error handling. 2019-08-09 16:10:16 +08:00
Chunting Gu 0292b4b51e Support response data streaming and add an example file downloader. 2019-08-08 17:12:22 +08:00
Chunting Gu 0f0f6fdf8e Add parameters like timeout, buffer_size to ClientSession. 2019-07-26 09:59:24 +08:00
Chunting Gu 98aeeae012 Rework the body of request and response 2019-07-03 17:37:44 +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 113dacb9ce Remove PostFile() from session; refine cmake files; replace final with override. 2019-04-24 13:42:16 +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