Share via


WebSocketAcceptContext.ServerMaxWindowBits 屬性

定義

設定可用於壓縮的 LZ77 滑動視窗大小之基底 2 對數上限。 此設定會降低壓縮的記憶體額外負荷,但代價可能是壓縮比率變差。

public int ServerMaxWindowBits { get; set; }
member this.ServerMaxWindowBits : int with get, set
Public Property ServerMaxWindowBits As Integer

屬性值

15

備註

當 為 false,或用戶端不使用壓縮時 DangerousEnableCompression ,這個屬性不會執行任何動作。 有效值為 9 到 15。

適用於