HttpRequest::setMethod
HttpRequest::setPostFields
The HttpRequest
PHP Manual

# HttpRequest::setOptions

(PECL pecl_http >= 0.10.0)

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`를 반환합니다.

HttpRequest::setMethod
HttpRequest::setPostFields
The HttpRequest
PHP Manual