HeaderCollection.Insert

HeaderCollection.Insert method

Inserts the header in collection. If collection contains headers with the same name this header will be inserted before other headers with the same name.

public void Insert(string name, string value)
ParameterTypeDescription
nameStringThe header name.
valueStringThe header value.

See Also