EventHttpRequest::findHeader
(PECL event >= 1.4.0-beta)
EventHttpRequest::findHeader — Finds the value belonging a header
Beschreibung
$key
,
string
$type
): voidFinds the value belonging a header.
Parameter-Liste
-
key
-
The header name.
-
type
-
One of
EventHttpRequest::*_HEADER
constants .
Rückgabewerte
Returns null
if header not found.
Siehe auch
- EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request