HttpListenerResponse.SendChunked Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets whether the response uses chunked transfer encoding.

Namespace: System.Net
Assembly: System (in system.dll)

public bool SendChunked { get; set; }
/** @property */
public boolean get_SendChunked ()

/** @property */
public void set_SendChunked (boolean value)

public function get SendChunked () : boolean

public function set SendChunked (value : boolean)

Property Value

true if the response is set to use chunked transfer encoding; otherwise, false. The default is false.

The body of a chunked message is made up of a series of chunks. Each chunk comprises of two parts—the size of the chunk data and the actual data. When set to true the response is sent using chunked transfer encoding.

Windows 98, Windows Server 2003, Windows XP Media Center Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0