The HttpRequestPool class
PHP Manual

HttpRequestPool::send

(PECL pecl_http >= 0.10.0)

HttpRequestPool::sendSend all requests

说明

bool HttpRequestPool::send ( void )

Send all attached HttpRequest objects in parallel.

参数

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

错误/异常

Throws HttpRequestPoolException (HttpSocketException, HttpRequestException, HttpMalformedHeaderException).


The HttpRequestPool class
PHP Manual