Commit Graph

16 Commits

Author SHA1 Message Date
halx99 a099194a47 Add HttpClient::getInternalService 2021-09-05 22:18:42 +08:00
halx99 981b3a9a79 Add HttpClient::handleNetworkStatusChanged to clear DNS cache 2021-07-31 14:39:42 +08:00
halx99 5bb5d43733 Improve code quality 2021-07-19 14:17:51 +08:00
halx99 0af95a3fbb Improve code quality 2021-07-19 13:43:59 +08:00
halx99 d76a43406c HttpClient cookie support 2021-07-19 12:26:25 +08:00
halx99 0c74a94525 Implement HttpClient::sendSync with std::promise 2021-07-06 11:39:53 +08:00
halx99 f4969ee388 HttpClient: Fix crash when process redirect 2021-07-06 02:44:57 +08:00
halx99 3df92d56de HttpClient handle content type from custom headers 2021-07-05 14:24:04 +08:00
halx99 44677f1a3b Improve HttpResponse interanlCode set 2021-06-25 18:29:16 +08:00
halx99 72d1ba9ea6 Merge: df58dd753c 2397d54daf
Merge branch 'dev' into Chipmunk2D
2021-06-24 17:04:04 +08:00
aismann dbcb5816fe Add springs (draw), add Copyright, improve Chipmunk2d - Testbed 2021-06-24 09:54:02 +02:00
halx99 14dc7f05f9 Reimplement HttpClient based on yasio (#390)
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request

* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code

* [WIP] Reimplement HttpClient based on yasio [ci build]

* [WIP] Fix ci [ci build]

* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support

* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works

* Update HttpClient.cpp

* HttpClientTest: enable sslVerifaction test

* Update HttpResponse.h

* Sync luabindings [ci build]

* Add chrome UA test

* Fix ci [ci build]

* The timer for read timeout should be associated with per channel

* Remove unused function

* Update url
2021-06-24 12:33:07 +08:00
halx99 958922bf6d Add setDispatchOnWorkThread support 2020-10-08 00:00:14 +08:00
halx99 3214a76297 Refine HttpClient (#224) 2020-10-05 08:32:48 +08:00
halx99 89d80ce24f Refine HttpClient 2020-10-05 02:40:38 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00