EventHttpRequest
PHP Manual

EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::findHeaderFinds the value belonging a header

Descrizione

public void EventHttpRequest::findHeader ( string $key , string $type )

Finds the value belonging a header.

Elenco dei parametri

key

The header name.

type

One of EventHttpRequest::*_HEADER constants .

Valori restituiti

Returns NULL if header not found.

Vedere anche:


EventHttpRequest
PHP Manual