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