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]);
    }