Php/docs/eventhttprequest.findheader

提供:Dev Guides
< Php
2020年12月14日 (月) 09:21時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::findHeaderFinds the value belonging a header


説明

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

Finds the value belonging a header.


パラメータ

key
The header name.
type
One of EventHttpRequest::*_HEADER constants .


返り値

Returns null if header not found.


参考