EventHttpRequest::clearHeaders

(PECL event >= 1.4.0-beta)

EventHttpRequest::clearHeadersRemoves 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

© 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