Removes all output headers from the header list of the request

# 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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open