HttpListenerResponse.SendChunked 屬性

定義

取得或設定值,指出回應是否使用區塊傳輸編碼方式。

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

屬性值

如果回應設為使用區塊傳輸編碼方式,則為 true,否則為 false。 預設為 false

備註

區塊訊息的本文是由一系列區塊所組成。 每個區塊都包含兩個部分:區塊資料和實際資料的大小。 當設定為 true 時,會使用區塊傳輸編碼傳送回應。

適用於