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

### 说明

public function EventHttpRequest::clearHeaders(): void

Removes all output headers from the header list of the request.

### 参数

此函数没有参数。

### 返回值

没有返回值。

### 参见

- EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request

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