System.Net.WebHeaderCollection
namespace System.Net
{
public class WebHeaderCollection : NameValueCollection, ISerializable
{
public string this[HttpRequestHeader header] { get; set; }
public string this[HttpResponseHeader header] { get; set; }
public WebHeaderCollection();
protected WebHeaderCollection(SerializationInfo serializationInfo, StreamingContext streamingContext);
public void Add(HttpRequestHeader header, string value);
public void Add(HttpResponseHeader header, string value);
public void Add(string header);
protected void AddWithoutValidate(string headerName, string headerValue);
public static bool IsRestricted(string headerName);
public static bool IsRestricted(string headerName, bool response);
public void Remove(HttpRequestHeader header);
public void Remove(HttpResponseHeader header);
public void Set(HttpRequestHeader header, string value);
public void Set(HttpResponseHeader header, string value);
public byte[] ToByteArray();
}
}