EventHttpRequest::removeHeader
PHP function
Edit on GitHub ✎
(PECL event >= 1.4.0-beta)
Removes an HTTP header from the headers of the request
Description
EventHttpRequest::removeHeader(string $key, string $type): void
Removes an HTTP header from the headers of the request.
Parameters
keyThe header name.
typetypeis one ofEventHttpRequest::*_HEADERconstants.
Return Values
Removes an HTTP header from the headers of the request.
See Also
EventHttpRequest::addHeader