public function CoreDriver::setRequestHeader in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::setRequestHeader()
Sets specific request header on client.
Parameters
string $name:
string $value:
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides DriverInterface::setRequestHeader
1 method overrides CoreDriver::setRequestHeader()
- BrowserKitDriver::setRequestHeader in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php - Sets specific request header on client.
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 279
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function setRequestHeader($name, $value) {
throw new UnsupportedDriverActionException('Request headers manipulation is not supported by %s', $this);
}