RewriteOptionsExtensions.AddRedirectToHttpsPermanent(RewriteOptions) Metodo

Definizione

Reindirizzare una richiesta a https se la richiesta in ingresso è http, con la restituzione di un codice di stato 301 per il reindirizzamento permanente.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToHttpsPermanent(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
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

Parametri

options
RewriteOptions

Oggetto RewriteOptions.

Restituisce

Si applica a