redirect property

HTTPRedirect? redirect
final

A HTTP rule can either redirect or forward (default) traffic. If traffic passthrough option is specified in the rule, route/redirect will be ignored. The redirect primitive can be used to send a HTTP 301 redirect to a different URI or Authority.

Implementation

final HTTPRedirect? redirect;