EventHttpRequest::findHeader
PHP Manual
PHP Manual»EventHttpRequest»EventHttpRequest::findHeader

EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::findHeaderFinds the value belonging to a header

Descrizione

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

Finds the value belonging to 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:

To Top