RewriteResponse constructor
const
RewriteResponse({})
Creates a new RewriteResponse.
dynamicLinks The request will be forwarded to Firebase Dynamic Links.
function The function to proxy requests to. Must match the exported function name exactly.
functionRegion Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
glob The user-supplied glob to match against the request URL path.
path The URL path to rewrite the request to.
regex The user-supplied RE2 regular expression to match against the request URL path.
run The request will be forwarded to Cloud Run.
Implementation
const RewriteResponse({
required this.dynamicLinks,
required this.function,
required this.functionRegion,
required this.glob,
required this.path,
required this.regex,
required this.run,
});