HttpContextWrapper.IsWebSocketRequest 属性

定义

获取一个值,该值指示此请求是否是一个 AspNetWebSocket 请求。

public:
 virtual property bool IsWebSocketRequest { bool get(); };
public override bool IsWebSocketRequest { get; }
member this.IsWebSocketRequest : bool
Public Overrides ReadOnly Property IsWebSocketRequest As Boolean

属性值

Boolean

如果该请求是一个 AspNetWebSocket 请求,则为 true,否则为 false

适用于