The HttpRequestPool class
PHP Manual

HttpRequestPool::attach

(PECL pecl_http >= 0.10.0)

HttpRequestPool::attachAttach 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
PHP Manual