WebSocketHelperCheckWebSocketLegality 方法 |
检测当前的反馈对象是否是标准的websocket请求
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult CheckWebSocketLegality(
string httpGet
)
Public Shared Function CheckWebSocketLegality (
httpGet As String
) As OperateResult
public:
static OperateResult^ CheckWebSocketLegality(
String^ httpGet
)
static member CheckWebSocketLegality :
httpGet : string -> OperateResult
参数
- httpGet
- 类型:SystemString
http的请求内容
返回值
类型:
OperateResult是否验证成功
参见