3 references to AddRedirectToWww
Microsoft.AspNetCore.Rewrite (2)
RewriteOptionsExtensions.cs (2)
139return AddRedirectToWww(options, statusCode: StatusCodes.Status308PermanentRedirect, domains); 158return AddRedirectToWww(options, statusCode: StatusCodes.Status307TemporaryRedirect, domains);
Microsoft.AspNetCore.Rewrite.Tests (1)
MiddlewareTests.cs (1)
819var options = new RewriteOptions().AddRedirectToWww(statusCode: statusCode, "example.com");