src/main/php/ehough/shortstop/api/HttpMessage.php
public final function setHeader($name, $value)
    {
        self::checkString($name);
        self::checkString($value);

        $this->_headers[$name] = $value;
    }
public final function setHeader($name, $value)
    {
        self::checkString($name);
        self::checkString($value);

        $this->_headers[$name] = $value;
    }
public final function setHeader ( $ name , $ value ) { self :: checkString ( $ name ) ; self :: checkString ( $ value ) ; $ this -> _headers [ $ name ] = $ value ; }
Set a single header.

@param string $name  The header name.
@param string $value The header value.

@return void
Set a single header .