EventHttpRequest::clearHeaders
(PECL event >= 1.4.0-beta)
EventHttpRequest::clearHeaders — Removes all output headers from the header list of the request
Description
public EventHttpRequest::clearHeaders ( ) : void
Removes all output headers from the header list of the request.
Parameters
This function has no parameters.
Return Values
No value is returned.
See Also
- EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventhttprequest.clearheaders.php