SendChunked Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether to send data in segments to the Internet resource.

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

public bool SendChunked { get; set; }

Property Value

Type: System..::..Boolean
true to send data to the Internet resource in segments; otherwise, false. The default value is false.

When SendChunked is true, the request sends data to the Internet resource in segments. The Internet resource must support receiving chunked data.

Changing the SendChunked property after the request has been started by calling the GetRequestStream, BeginGetRequestStream, GetResponse, or BeginGetResponse method throws an InvalidOperationException.

Show: