EventHttpRequest::removeHeader
(PECL event >= 1.4.0-beta)
EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request
Description
Removes an HTTP header from the headers of the request.
Parameters
key
The header name.
type
type
is one of
EventHttpRequest::*_HEADER
constants.
Return Values
Removes an HTTP header from the headers of the request.
See Also
- EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
