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

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/eventhttprequest.clearheaders.php