HttpRouteHeaderModifierResponse constructor

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

Creates a new HttpRouteHeaderModifierResponse. 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 HttpRouteHeaderModifierResponse({
  required this.add,
  required this.remove,
  required this.set,
});