append


Description:

public void append (string name, string value)

Appends a new header with name name and value value to this.

(If there is an existing header with name name, then this creates a second one, which is only allowed for list-valued headers; see also [[email protected]].)

The caller is expected to make sure that name and value are syntactically correct.

Parameters:

this

a MessageHeaders

name

the header name to add

value

the new value of name




2022 vala-language.org