HttpRequestPool
PHP Manual

HttpRequestPool::attach

(PECL pecl_http >= 0.10.0)

HttpRequestPool::attachAttach HttpRequest

Descrição

public bool HttpRequestPool::attach ( HttpRequest $request )

Attach an HttpRequest object to this HttpRequestPool.

Aviso

Set all options prior attaching!

Parâmetros

request

an HttpRequest object not already attached to any HttpRequestPool object

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

Erros

Throws HttpInvalidParamException, HttpRequestException, HttpRequestPoolException, HttpEncodingException.


HttpRequestPool
PHP Manual