ClientWebSocketOptions.CollectHttpResponseDetails 属性

定义

获取或设置一个值,该值指示在建立连接时是否 HttpStatusCode 应设置 和 HttpResponseHeaders

public:
 property bool CollectHttpResponseDetails { bool get(); void set(bool value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool CollectHttpResponseDetails { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.CollectHttpResponseDetails : bool with get, set
Public Property CollectHttpResponseDetails As Boolean

属性值

属性

适用于