You are here

public function Session::setRequestHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Session.php \Behat\Mink\Session::setRequestHeader()

Sets specific request header.

Parameters

string $name:

string $value:

File

vendor/behat/mink/src/Session.php, line 163

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function setRequestHeader($name, $value) {
  $this->driver
    ->setRequestHeader($name, $value);
}