StaticFileOptions.HttpsCompression 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出當回應壓縮中介軟體可用時,是否應該針對 HTTPS 要求壓縮檔案。 預設值是 Compress。
public:
property Microsoft::AspNetCore::Http::Features::HttpsCompressionMode HttpsCompression { Microsoft::AspNetCore::Http::Features::HttpsCompressionMode get(); void set(Microsoft::AspNetCore::Http::Features::HttpsCompressionMode value); };
public Microsoft.AspNetCore.Http.Features.HttpsCompressionMode HttpsCompression { get; set; }
member this.HttpsCompression : Microsoft.AspNetCore.Http.Features.HttpsCompressionMode with get, set
Public Property HttpsCompression As HttpsCompressionMode
屬性值
備註
啟用遠端可管理內容的 HTTPS 要求壓縮可能會公開安全性問題。