3 references to AddRedirectToWww
Microsoft.AspNetCore.Rewrite (2)
RewriteOptionsExtensions.cs (2)
128
return
AddRedirectToWww
(options, statusCode: StatusCodes.Status308PermanentRedirect);
148
return
AddRedirectToWww
(options, statusCode: StatusCodes.Status307TemporaryRedirect);
Microsoft.AspNetCore.Rewrite.Tests (1)
MiddlewareTests.cs (1)
421
var options = new RewriteOptions().
AddRedirectToWww
(statusCode: statusCode);