-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有關JarhfStomp4Net 使用 #1
Comments
@Elliot9 我这个代码就是C# WinForm客户端。 通信协议是sockjs规范, 内容协议是stomp ,我的server端是spring websocket. 客户端StompClient用法很简单, readme中有订阅消息的示例代码, 还有一个常用的方法就是发送消息。 |
Websocket4Net is broken with Spring websocket server (stomp implementation). I have implemented websocketSharp in JarhfStomp4Net and it works perfect with Spring Websocket. |
@fkahhaleh Because Spring Websocket server using SockJs protocol, the message body start with 'a','m' or 'c' , well the Websocket4Net don't know |
@jarhf , it makes sense now. (I was planning to look at the sourcecode to understand why, thanks for saving me the trouble) Question, does this make Websocket4Net not 100% compatible/standard with WebSocket protocols? Thanks |
@fkahhaleh WebSocket is lower protocol, SockJs is over on WebSocket, it implement text message communication. Look at the SockJsClient |
@jarhf , Yes you are right. That is why I decided to work on the code to allow the user to choose or extend with relative ease the WebSocket implementation to use. Thanks |
你好 , 我正需要這個
websocket Server端是由 sockjs跟stomp-client 組合
而我打算 使用 C# winsform 完成client端
請問我該怎麼著手? 有沒有什麼方向 或是 範本 謝謝
The text was updated successfully, but these errors were encountered: