EventHttpRequest::removeHeader
(PECL event >= 1.4.0-beta)
EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request
說明
public EventHttpRequest::removeHeader( string
$key , string $type ): voidRemoves an HTTP header from the headers of the request.
參數
-
key The header name.
-
type typeis one ofEventHttpRequest::*_HEADERconstants.
返回值
Removes an HTTP header from the headers of the request.
參見
- EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request