PHPKonf: Istanbul PHP Conference 2017

HttpRequest::addHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::addHeadersAdd headers

Descrizione

public bool HttpRequest::addHeaders ( array $headers )

Add request header name/value pairs.

Elenco dei parametri

headers

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