Overlapping HTTPS requests?

故事扮演 提交于 2019-12-13 10:28:58

问题


Is there an example where I am able to do overlapping HTTPS requests while getting the returned results as they arrive. Language which supports threads to do this?

Any examples of this would be much appreciated!

Thank you.


回答1:


curl multi-request functionality may be useful in this case. The example is with regular http but should work with https too. If you need to process data as they come, use curl's write handler functions set by CURLOPT_WRITEFUNCTION option.



来源:https://stackoverflow.com/questions/4568182/overlapping-https-requests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!