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

# HttpRequest::addHeaders

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::addHeaders — Add headers

### Opis

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

Add request header name/value pairs.

### Parametry

`headers`

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

### Zwracane wartości

Zwraca `TRUE` w przypadku powodzenia, `FALSE` w przypadku błędu.

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