public string this[HttpResponseHeader header] { get { return(this.Get(WebHeaderCollection.Convert(header))); } set { this.Add(header, value); } }
public void Set(HttpResponseHeader header, string value) { this.doWithCheckingState(new Action <string, string>(this.setWithoutCheckingName), WebHeaderCollection.Convert(header), value, true, true); }
public void Remove(HttpResponseHeader header) { this.doWithCheckingState(new Action <string, string>(this.removeWithoutCheckingName), WebHeaderCollection.Convert(header), null, true, false); }
public void Add(HttpRequestHeader header, string value) { this.doWithCheckingState(new Action <string, string>(this.addWithoutCheckingName), WebHeaderCollection.Convert(header), value, false, true); }
public void Remove(HttpRequestHeader header) { this.DoWithCheckingState(new Action <string, string>(this.RemoveWithoutCheckingName), WebHeaderCollection.Convert(header), null, false, false); }
internal static string Convert(HttpResponseHeader header) { return(WebHeaderCollection.Convert(header.ToString())); }