Skip to main content
All docs
V23.2

AsyncDownloadPolicy.DefaultResponseContentBufferSizeForHttpClient Field

Specifies the number of bytes to buffer when reading the response content.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static int DefaultResponseContentBufferSizeForHttpClient

Field Value

Type Description
Int32

An integer value that specifies the number of bytes to buffer when reading the response content.

Remarks

You can also use DefaultResponseContentBufferSizeForHttpClient and DefaultBufferSizeForContentCopy settings to modify values for the static AsyncDownloadPolicy class constants and specify a global limit that can be changed within the ConfigureHttpClient event for individual UI controls.

DevExpress.Data.AsyncDownloadPolicy.DefaultResponseContentBufferSizeForHttpClient  = 1024 * 1024 * 4; // 4MB
DevExpress.Data.AsyncDownloadPolicy.DefaulBufferSizeForContentCopy = 1024 * 16; // 16KB

Read the following topic for detailed information and examples: Suppress Control Requests to Download Data from External URLs.

See Also