HttpHeaderActionResponseComputeBeta constructor

const HttpHeaderActionResponseComputeBeta({
  1. required Input<List<HttpHeaderOptionResponseComputeBeta>> requestHeadersToAdd,
  2. required Input<List<String>> requestHeadersToRemove,
  3. required Input<List<HttpHeaderOptionResponseComputeBeta>> responseHeadersToAdd,
  4. required Input<List<String>> responseHeadersToRemove,
})

Creates a new HttpHeaderActionResponseComputeBeta. requestHeadersToAdd Headers to add to a matching request before forwarding the request to the backendService. requestHeadersToRemove A list of header names for headers that need to be removed from the request before forwarding the request to the backendService. responseHeadersToAdd Headers to add the response before sending the response back to the client. responseHeadersToRemove A list of header names for headers that need to be removed from the response before sending the response back to the client.

Implementation

const HttpHeaderActionResponseComputeBeta({
  required this.requestHeadersToAdd,
  required this.requestHeadersToRemove,
  required this.responseHeadersToAdd,
  required this.responseHeadersToRemove,
});