HttpCompletionOption 列舉

定義

表示 HttpClient 作業應該在取得回應之後立即視為已完成,或在讀取整個回應訊息 (包括內容) 之後視為已完成。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
繼承
HttpCompletionOption

欄位

ResponseContentRead 0

在讀取包括內容的完整回應之後,操作應該完成。The operation should complete after reading the entire response including the content.

ResponseHeadersRead 1

一旦回應可使用而標頭也已讀取後,就應完成作業。The operation should complete as soon as a response is available and headers are read. 尚未讀取內容。The content is not read yet.

適用於