You are here

public function HttpResponseHeadersRule::setHeader in HTTP Response Headers 7

Sets header.

Parameters

mixed $header: A header.

Return value

HttpResponseHeadersRule The processed object.

File

includes/http_response_headers.rule.inc, line 170
Class definitions for the HTTP response headers rule.

Class

HttpResponseHeadersRule
Defines HttpResponseHeadersRule

Code

public function setHeader($header) {
  $this->header_value = $header;
  return $this;
}