HttpListenerResponse.SendChunked Property

Gets or sets whether the response uses chunked transfer encoding.

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

Public Property SendChunked As Boolean
Dim instance As HttpListenerResponse
Dim value As Boolean

value = instance.SendChunked

instance.SendChunked = value
/** @property */
public boolean get_SendChunked ()

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

public function get SendChunked () : boolean

public function set SendChunked (value : boolean)

Not applicable.

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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions