Finds the value belonging to a header

# EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::findHeader — Finds the value belonging to a header

### Beschreibung

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

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open