Mono Class Library: System.Net.HttpWebRequest Overview | Members

System.Net.HttpWebRequest.SendChunked Property

Gets or sets a value indicating whether to send data in segments. [Edit]

public bool SendChunked { set; get; }

Value

true to send data in segments; otherwise, false. The default value is false. [Edit]

Exceptions

TypeReason
InvalidOperationExceptionA set operation was requested but data has already been written to the request data stream. [Edit]

Remarks

When HttpWebRequest.SendChunked is true , the request sends data to the destination in segments. The destination server is required to support receiving chunked data.

Note: Set this property to true only if the server specified by the HttpWebRequest.Address property of the current instance accepts chunked data (i.e. is HTTP/1.1 or greater in compliance). If the server does not accept chunked data, buffer all data to be written and send a HTTP Content-Length header with the buffered data.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0