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
The above is the code I've used, socket is of type Socket
The issue is that, it only gets one response and exits.
Upon investigation, it was due to the socket being closed. This script works for some websocket servers, but not for this one. I have used a synchronous websocket library to test the websocket server, and it has no issue.
Awaiting your reply
Update:
I modified this match in the lib.rs file recv_one
error code returned is 1002, which means malformed request.
The text was updated successfully, but these errors were encountered:
Hi,
Usecase: Connect to websocket server, send subscription payload, and wait for replies
The above is the code I've used, socket is of type Socket
The issue is that, it only gets one response and exits.
Upon investigation, it was due to the socket being closed. This script works for some websocket servers, but not for this one. I have used a synchronous websocket library to test the websocket server, and it has no issue.
Awaiting your reply
Update:
I modified this match in the lib.rs file
recv_one
error code returned is 1002, which means malformed request.
The text was updated successfully, but these errors were encountered: