CakeFest 2017 NYC, the Official CakePHP Conference


(PECL pecl_http >= 0.10.0)

HttpRequest::addHeadersAdd headers


public bool HttpRequest::addHeaders ( array $headers )

Add request header name/value pairs.

Elenco dei parametri


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

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top