HttpRouteHeaderModifier constructor

const HttpRouteHeaderModifier({
  1. Input<Map<String, String>>? add,
  2. Input<List<String>>? remove,
  3. Input<Map<String, String>>? set,
})

Creates a new HttpRouteHeaderModifier. add Add the headers with given map where key is the name of the header, value is the value of the header. remove Remove headers (matching by header names) specified in the list. set Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.

Implementation

const HttpRouteHeaderModifier({
  this.add,
  this.remove,
  this.set,
});