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

# HttpRequestPool::attach

(PECL pecl_http >= 0.10.0)

HttpRequestPool::attach — Attach HttpRequest

### 설명

public bool HttpRequestPool::attach ( HttpRequest `$request` )

Attach an HttpRequest object to this HttpRequestPool.

Warning

Set all options prior attaching!

### 인수

`request`

  an HttpRequest object not already attached to any HttpRequestPool object

### 반환값

성공할 경우 `TRUE`를, 실패할 경우 `FALSE`를 반환합니다.

### 오류/예외

Throws HttpInvalidParamException, HttpRequestException, HttpRequestPoolException, HttpEncodingException.

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