Parallel HTTP requests in PHP using PECL HTTP classes [Answer: HttpRequestPool class]

前端 未结 6 2203
生来不讨喜
生来不讨喜 2020-12-14 22:57

The HttpRequestPool class provides a solution. Many thanks to those who pointed this out.

A brief tutorial can be found at: http://www.phptutorial.i

6条回答
  •  無奈伤痛
    2020-12-14 23:57

    Did you try HttpRequestPool (it's part of Http)? It looks like it would pool up the request objects and work them. I know I read somewhere that Http would support simultaneous requests and aside from pool I can't find anything either.

提交回复
热议问题