Condividi tramite


HttpCompletionOption Enumeration

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)

Syntax

'Declaration
Public Enumeration HttpCompletionOption
'Usage
Dim instance As HttpCompletionOption
public enum HttpCompletionOption
public enum class HttpCompletionOption
type HttpCompletionOption
public enum HttpCompletionOption

Members

Member name Description
ResponseContentRead The operation should complete after reading the entire response including the content.

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

See Also

Reference

System.Net.Http Namespace