The HttpRequestPool class
HttpRequestPool::__construct
The HttpRequestPool class
PHP Manual

# HttpRequestPool::attach

(PECL pecl_http >= 0.10.0)

HttpRequestPool::attach — Attach 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 falhas.

### Erros

Throws HttpInvalidParamException, HttpRequestException, HttpRequestPoolException, HttpEncodingException.

The HttpRequestPool class
HttpRequestPool::__construct
The HttpRequestPool class
PHP Manual