HttpCompletionOption Enumeration

.NET Framework 4.6 and 4.5

Indicates if HttpClient operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content.

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

public enum HttpCompletionOption

Member nameDescription
ResponseContentReadThe operation should complete after reading the entire response including the content.
ResponseHeadersReadThe operation should complete as soon as a response is available and headers are read. The content is not read yet.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft