次の方法で共有


RewriteOptionsExtensions.AddRedirectToHttpsPermanent(RewriteOptions) メソッド

定義

受信要求が http の場合は https に要求をリダイレクトし、完全にリダイレクトするための 301 状態コードを返します。

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

パラメーター

戻り値

適用対象