asp.net - WebSocket server c# receiving & identifying multiple messages -
i have created asp.net c# project, consists of web form , websocket handler. send data in json format web form websocket handler.
the web form have code snippet:
ws.send(json.stringify(amt)); ws.send(json.stringify(name));
under websocket handler's onmessage(string message) method, convert data sent web form in json format c# format. but, how onmessage method in websocket handler knows data "amt" , data "name"?
Comments
Post a Comment