【发布时间】:2017-07-11 05:06:40
【问题描述】:
我在 Windows 系统上的 .NET 中同时连接了 HTTP 和 webSockect,它工作正常,然后我将同一个项目移动到 mono 以使用 Mono 在 linux 系统上进行测试,但它给了我一个错误的案例,即 webSocket 连接 IsWebSocketRequest 正在变为错误
if (httpListenerContext.Request.IsWebSocketRequest==true)
{
//some logic
}
【问题讨论】:
标签: c# http websocket mono httplistenerrequest