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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -