public function BrowserHeadersTrait::setHeaders in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserHeadersTrait.php \Zumba\GastonJS\Browser\BrowserHeadersTrait::setHeaders()
Given an array of headers, set such headers for the requests, removing all others
Parameters
array $headers:
Return value
mixed
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserHeadersTrait.php, line 23
Class
- BrowserHeadersTrait
- Trait BrowserHeadersTrait @package Zumba\GastonJS\Browser
Namespace
Zumba\GastonJS\BrowserCode
public function setHeaders($headers) {
return $this
->command('set_headers', $headers);
}