SevenShores\Hubspot\Http\Response::withAddedHeader PHP Метод

withAddedHeader() публичный Метод

Existing values for the specified header will be maintained. The new value(s) will be appended to the existing list. If the header did not exist previously, it will be added. This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the new header and/or value.
public withAddedHeader ( string $name, string | string[] $value ) : self
$name string Case-insensitive header field name to add.
$value string | string[] Header value(s).
Результат self
    function withAddedHeader($name, $value)
    {
        return $this->response->withAddedHeader($name, $value);
    }