public function BrowserHeadersTrait::addHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserHeadersTrait.php \Zumba\GastonJS\Browser\BrowserHeadersTrait::addHeader()
Adds a header to the page making it permanent if needed
Parameters
$header:
$permanent:
Return value
mixed
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserHeadersTrait.php, line 42
Class
- BrowserHeadersTrait
- Trait BrowserHeadersTrait @package Zumba\GastonJS\Browser
Namespace
Zumba\GastonJS\BrowserCode
public function addHeader($header, $permanent = false) {
return $this
->command('add_header', $header, $permanent);
}