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.

适用于