EventHttpRequest::clearHeaders
(PECL event >= 1.4.0-beta)
EventHttpRequest::clearHeaders — Removes all output headers from the header list of the request
說明
public
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