HttpRequest::setOptions
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setOptions — Set options
설명
public
bool HttpRequest::setOptions
([ array $options
] )
Set the request options to use.
요청 옵션들의 전체 목록을 참고하십시오.
매개변수
- options
-
an associative array, which values will overwrite the currently set request options; if empty or omitted, the options of the HttpRequest object will be reset
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.