src/Context/ApiContext.php
public function setRequestHeader($header, $value) {
        $this->request = $this->request->withHeader($header, $value);

        return $this;
    }
public function setRequestHeader($header, $value) {
        $this->request = $this->request->withHeader($header, $value);

        return $this;
    }
public function setRequestHeader ( $ header , $ value ) { $ this -> request = $ this -> request -> withHeader ( $ header , $ value ) ; return $ this ; }
Set a HTTP request header

If the header already exists it will be overwritten

@param string $header The header name
@param string $value The header value
@return self

@Given the :header request header is :value
Set a HTTP request header