public function HeadersTrait::setRequestHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/HeadersTrait.php \Zumba\Mink\Driver\HeadersTrait::setRequestHeader()
The name say its all
Parameters
string $name:
string $value:
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ HeadersTrait.php, line 33
Class
- HeadersTrait
- Class HeadersTrait @package Zumba\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function setRequestHeader($name, $value) {
$header = array();
$header[$name] = $value;
//TODO: as a limitation of the driver it self, we will send permanent for the moment
$this->browser
->addHeader($header, true);
}