Icicle\Http\Message\Message::withAddedHeader PHP Метод

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

Returns a new instance with the given value added to the named header. If the header did not exist, the header is created with the given value.
public withAddedHeader ( string $name, string | string[] $value ) : Icicle\Http\Message\Message
$name string
$value string | string[]
Результат Icicle\Http\Message\Message
    public function withAddedHeader(string $name, $value) : Message;