After I move from version 6 to 7, and after make some modification to fit the changes, and after override the serialize/deserialize json functions (in websocket4net), connect successfully works, and I get correct respond status and token from server.
But now, I face another issue, commands wait for respond but it not arrive (client send command to server, server get the command process it and "send" respond), the server respond not arrive to client :( - (no error in any side, server error log
using previous version , After each command done, I was send respond to client to let them know server is free to get next command, I was using:
SendJsonResponse(session, "CMNDR", null);
now seems like null not been handled (Exception:Object reference not set to an instance of an object.)!!!, so I change it to the following:
SendJsonMessage(session, "CMNDR", new CommonResponse
StatusCode = ResponseCode.SUCCESS
No error, server seems to send without any issue, but in client, No respond arrive!!!!!!
the on respond defined as following (didnt change anything from prev version)
public void OnCommonRespondMessage(CommonResponse m)
Do I miss anything again?