douzhangli9563 2014-11-26 19:21
浏览 22

具有一个流请求的同时卷曲请求

I'm using curl to get a live content from a server. Each time this server gives me a specific answer, I would like to send another curl request (not a stream one).

I have tried to use curl_multi_init but it doesn't seem to be the correct usage. curl_multi_init allows me to send several requests at the same moment, but I don't know if I can send a request while keeping the "stream request".

What I want to do, is :

AAAAAAAAAAAAAAAAAAAAAA
B        C           D

Where A is the stream request which should never stop, and B, C, D several requests sent thanks to A.

Is it possible to do this thanks to PHP? Thanks a lot.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Python turtle 画图
    • ¥15 关于大棚监测的pcb板设计
    • ¥15 stm32开发clion时遇到的编译问题
    • ¥15 lna设计 源简并电感型共源放大器
    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
    • ¥15 Vue3地图和异步函数使用
    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计