Workerman\Protocols\Http::headerRemove PHP Метод

headerRemove() публичный статический Метод

Remove header.
public static headerRemove ( string $name ) : void
$name string
Результат void
    public static function headerRemove($name)
    {
        if (PHP_SAPI != 'cli') {
            header_remove($name);
            return;
        }
        unset(HttpCache::$header[$name]);
    }