RewriteOptionsExtensions.AddRedirectToHttps 메서드

정의

오버로드

AddRedirectToHttps(RewriteOptions)

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

AddRedirectToHttps(RewriteOptions, Int32)

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

AddRedirectToHttps(RewriteOptions, Int32, Nullable<Int32>)

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

AddRedirectToHttps(RewriteOptions)

Source:
RewriteOptionsExtensions.cs
Source:
RewriteOptionsExtensions.cs

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

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

매개 변수

반환

적용 대상

AddRedirectToHttps(RewriteOptions, Int32)

Source:
RewriteOptionsExtensions.cs
Source:
RewriteOptionsExtensions.cs

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

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

매개 변수

statusCode
Int32

응답에 추가할 상태 코드입니다.

반환

적용 대상

AddRedirectToHttps(RewriteOptions, Int32, Nullable<Int32>)

Source:
RewriteOptionsExtensions.cs
Source:
RewriteOptionsExtensions.cs

들어오는 요청이 http인 경우 요청을 https로 리디렉션합니다.

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

매개 변수

statusCode
Int32

응답에 추가할 상태 코드입니다.

sslPort
Nullable<Int32>

응답에 추가할 SSL 포트입니다.

반환

적용 대상