RewriteOptionsExtensions.AddRedirectToHttps Yöntem

Tanım

Aşırı Yüklemeler

AddRedirectToHttps(RewriteOptions)

Gelen istek http ise isteği https'ye yeniden yönlendirme

AddRedirectToHttps(RewriteOptions, Int32)

Gelen istek http ise isteği https'ye yeniden yönlendirme

AddRedirectToHttps(RewriteOptions, Int32, Nullable<Int32>)

Gelen istek http ise isteği https'ye yeniden yönlendirme

AddRedirectToHttps(RewriteOptions)

Gelen istek http ise isteği https'ye yeniden yönlendirme

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToHttps(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToHttps (this Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member AddRedirectToHttps : Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToHttps (options As RewriteOptions) As RewriteOptions

Parametreler

Döndürülenler

Şunlara uygulanır

AddRedirectToHttps(RewriteOptions, Int32)

Gelen istek http ise isteği https'ye yeniden yönlendirme

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToHttps(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, int statusCode);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToHttps (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, int statusCode);
static member AddRedirectToHttps : Microsoft.AspNetCore.Rewrite.RewriteOptions * int -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToHttps (options As RewriteOptions, statusCode As Integer) As RewriteOptions

Parametreler

statusCode
Int32

Yanıta eklenecek durum kodu.

Döndürülenler

Şunlara uygulanır

AddRedirectToHttps(RewriteOptions, Int32, Nullable<Int32>)

Gelen istek http ise isteği https'ye yeniden yönlendirme

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToHttps(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, int statusCode, Nullable<int> sslPort);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToHttps (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, int statusCode, int? sslPort);
static member AddRedirectToHttps : Microsoft.AspNetCore.Rewrite.RewriteOptions * int * Nullable<int> -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToHttps (options As RewriteOptions, statusCode As Integer, sslPort As Nullable(Of Integer)) As RewriteOptions

Parametreler

statusCode
Int32

Yanıta eklenecek durum kodu.

sslPort
Nullable<Int32>

Yanıta eklenecek SSL bağlantı noktası.

Döndürülenler

Şunlara uygulanır