The action to take if this rule is matched.

Index

Describes how the redirect should be performed. Only valid when type is 'redirect'.

requestHeaders?: _RuleActionRequestHeaders[]

The request headers to modify for the request. Only valid when type is 'modifyHeaders'.

responseHeaders?: _RuleActionResponseHeaders[]

The response headers to modify for the request. Only valid when type is 'modifyHeaders'.