HttpRequest.IsHttps 属性

定义

如果 RequestScheme 为 https,则返回 true。

public:
 abstract property bool IsHttps { bool get(); void set(bool value); };
public abstract bool IsHttps { get; set; }
member this.IsHttps : bool with get, set
Public MustOverride Property IsHttps As Boolean

属性值

如果此请求使用 https,则为 true;否则为 false。

适用于