HttpCompletionOption HttpCompletionOption HttpCompletionOption HttpCompletionOption HttpCompletionOption Enum

Definition

Indicates whether asynchronous HttpClient operations are considered completed when all of the response is read, or when just the headers are read.

public : enum class HttpCompletionOption
enum class winrt::Windows::Web::Http::HttpCompletionOption : int32_t
public enum HttpCompletionOption
Public Enum HttpCompletionOption
var value = Windows.Web.Http.HttpCompletionOption.responseContentRead;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

ResponseContentRead ResponseContentRead ResponseContentRead ResponseContentRead ResponseContentRead 0

The operation should complete after reading the entire response including the content.

This is the default value.

ResponseHeadersRead ResponseHeadersRead ResponseHeadersRead ResponseHeadersRead ResponseHeadersRead 1

The operation should complete as soon as a response is available and headers are read. The content is not read yet.