©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL pecl_http >= 0.10.0)
HttpRequestPool::attach — Attach HttpRequest
$request
)Attach an HttpRequest object to this HttpRequestPool.
Set all options prior attaching!
request
an HttpRequest object not already attached to any HttpRequestPool object
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
Throws HttpInvalidParamException, HttpRequestException, HttpRequestPoolException, HttpEncodingException.