public override void Set(string name, string value) { this.doWithCheckingState(new Action <string, string>(this.setWithoutCheckingName), WebHeaderCollection.checkName(name), value, true); }
public static bool IsRestricted(string headerName, bool response) { return(WebHeaderCollection.isRestricted(WebHeaderCollection.checkName(headerName), response)); }
public override void Remove(string name) { this.doWithCheckingState(new Action <string, string>(this.removeWithoutCheckingName), WebHeaderCollection.checkName(name), null, false); }
private void @add(string name, string value, bool ignoreRestricted) { this.doWithCheckingState((ignoreRestricted ? new Action <string, string>(this.addWithoutCheckingNameAndRestricted) : new Action <string, string>(this.addWithoutCheckingName)), WebHeaderCollection.checkName(name), value, true); }