http
PHP Manual

HttpRequestPool::attach

(PECL pecl_http:0.10.0-1.5.5)

HttpRequestPool::attach — Attach HttpRequest

Descripción

public bool HttpRequestPool::attach ( HttpRequest $request )

Attach an HttpRequest object to this HttpRequestPool.

Warning

Set all options prior attaching!

Lista de parámetros

request

an HttpRequest object not already attached to any HttpRequestPool object

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Errors/Exceptions

Throws HttpInvalidParamException, HttpRequestException, HttpRequestPoolException, HttpEncodingException.


http
PHP Manual