phpday 2027 - Call for Papers

EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

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

Description

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

Finds the value belonging to a header.

Parameters

key

The header name.

type

One of EventHttpRequest::*_HEADER constants.

Return Values

Returns null if header not found.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top