javascriptparsingwebsocketwebclientparse-javascript-sdk

Parse SDK for javascript how to send ping to parse server to verify connection between web client and server


i iam developing chat app with parse and need to know when the connection is closed on the client side i am trying to send pong to server put sever didn't recive ping to response with pong any help please _this2.socket.send({})


Solution

  • i solved it by send heartbeat for my server in parse socket every 15 sec this help me in web application

    _this2.socket.send((0,"heartBeat"));