# Microsoft.AspNetCore.Rewrite

``` diff
 namespace Microsoft.AspNetCore.Rewrite {
     public static class RewriteOptionsExtensions {
+        public static RewriteOptions AddRedirectToNonWww(this RewriteOptions options);
+        public static RewriteOptions AddRedirectToNonWww(this RewriteOptions options, int statusCode);
+        public static RewriteOptions AddRedirectToNonWww(this RewriteOptions options, int statusCode, params string[] domains);
+        public static RewriteOptions AddRedirectToNonWww(this RewriteOptions options, params string[] domains);
+        public static RewriteOptions AddRedirectToNonWwwPermanent(this RewriteOptions options);
+        public static RewriteOptions AddRedirectToNonWwwPermanent(this RewriteOptions options, params string[] domains);
     }
 }
```

