public void RemoveDownstreamHeaderTransform(string key, string value) { DownstreamHeaderTransform.RemoveAll(x => x.Key.Equals(key, StringComparison.CurrentCultureIgnoreCase) && x.Value.Equals(value, StringComparison.CurrentCultureIgnoreCase)); }
public void RemoveAllDownstreamHeaderTransform() { DownstreamHeaderTransform.Clear(); }
public void AddDownstreamHeaderTransform(IGuidGenerator generator, string key, string value) { DownstreamHeaderTransform.AddIfNotContains(new RouteDownstreamTransformHttpHeader(Id, generator.Create(), key, value)); }