HttpCompletionOption HttpCompletionOption HttpCompletionOption HttpCompletionOption Enum

Definition

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.

public enum class HttpCompletionOption
public enum HttpCompletionOption
type HttpCompletionOption = 
Public Enum HttpCompletionOption
Inheritance
HttpCompletionOptionHttpCompletionOptionHttpCompletionOptionHttpCompletionOption

Fields

ResponseContentRead ResponseContentRead ResponseContentRead ResponseContentRead 0

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

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.

Applies to