_generated\AcceptanceTesterActions::grabHttpHeader PHP Method

grabHttpHeader() public method

Returns the value of the specified header name
See also: Codeception\Module\REST::grabHttpHeader()
public grabHttpHeader ( $name, boolean $first = null ) : string | array
$name
$first boolean Whether to return the first value or all header values
return string | array The first header value if $first is true, an array of values otherwise
    public function grabHttpHeader($name, $first = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('grabHttpHeader', func_get_args()));
    }
AcceptanceTesterActions