RewriteOptionsExtensions.AddRedirectToHttpsPermanent(RewriteOptions) RewriteOptionsExtensions.AddRedirectToHttpsPermanent(RewriteOptions) RewriteOptionsExtensions.AddRedirectToHttpsPermanent(RewriteOptions) Method

Definition

Redirect a request to https if the incoming request is http, with returning a 301 status code for permanently redirected.

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToHttpsPermanent (this Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member AddRedirectToHttpsPermanent : Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToHttpsPermanent (options As RewriteOptions) As RewriteOptions

Parameters

Returns

Applies to