You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
follow is my code:
m_WebSocket = new WebSocket(webSocketUrl);
m_WebSocket.Opened += new EventHandler(m_WebSocket_Opened);
m_WebSocket.MessageReceived += new EventHandler(m_WebSocket_MessageReceived);
m_WebSocket.Error += new EventHandler<SuperSocket.ClientEngine.ErrorEventArgs>(m_WebSocket_Error);
m_WebSocket.Closed += new EventHandler(m_WebSocket_Closed);
m_WebSocket.Open();
i use wss in C# wpf project, but this result is "HTTP/1.1 101 "
The text was updated successfully, but these errors were encountered:
I know this is an old issue, but I am facing the exact same problem. I get an "HTTP/1.1 101" on the Error Eventhandler, followed by an Closed event. Since 101 means "switching protocols", I would think this is expected and should not lead to an error and disconnection.
follow is my code:
m_WebSocket = new WebSocket(webSocketUrl);
m_WebSocket.Opened += new EventHandler(m_WebSocket_Opened);
m_WebSocket.MessageReceived += new EventHandler(m_WebSocket_MessageReceived);
m_WebSocket.Error += new EventHandler<SuperSocket.ClientEngine.ErrorEventArgs>(m_WebSocket_Error);
m_WebSocket.Closed += new EventHandler(m_WebSocket_Closed);
m_WebSocket.Open();
i use wss in C# wpf project, but this result is "HTTP/1.1 101 "
The text was updated successfully, but these errors were encountered: