HttpRequest::addCookies
HttpRequest::addPostFields
The HttpRequest
PHP Manual

# HttpRequest::addHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::addHeaders — Add headers

### 설명

public bool HttpRequest::addHeaders ( array `$headers` )

Add request header name/value pairs.

### 인수

`headers`

  an associative array as parameter containing additional header name/value pairs

### 반환값

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

HttpRequest::addCookies
HttpRequest::addPostFields
The HttpRequest
PHP Manual