Commit Graph

11 Commits

Author SHA1 Message Date
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