PHP - Manual: EventHttpRequest::findHeader
2024-12-22
(PECL event >= 1.4.0-beta)
EventHttpRequest::findHeader — Finds the value belonging a header
$key
,
string
$type
): voidFinds the value belonging a header.
key
The header name.
type
One of
EventHttpRequest::*_HEADER
constants
.
Returns null
if header not found.
官方地址:https://www.php.net/manual/en/eventhttprequest.findheader.php