HeaderPropagationEntryCollection.Append(String, StringValues) Method

Definition

Appends a new header value to an existing key.

public void Append(string key, Microsoft.Extensions.Primitives.StringValues value);
member this.Append : string * Microsoft.Extensions.Primitives.StringValues -> unit
Public Sub Append (key As String, value As StringValues)

Parameters

key
String

The key of the element to add.

value
StringValues

The value to add for the specified key.

Remarks

If the key does not exist in the incoming request headers collection, it will be ignored.

Applies to