Method Add
Add(KeyValuePair<string, StringValues>)
Adds a new header item to the collection.
public void Add(KeyValuePair<string, StringValues> item)
Parameters
item
KeyValuePair<string, StringValues>The item to add.
Add(string, StringValues)
Adds the given header and values to the collection.
public void Add(string key, StringValues value)
Parameters
key
stringThe header name.
value
StringValuesThe header values.