pong not being sent #408
-
In the doc's it says that ping/pong is optional as it automatically send a pong when a ping comes in.
This isn't happening so I've added the following code but it still isn't sending a pong response? Am I doing something wrong? ping: (ws) => {
Running version 18.8 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just tried this with ws client library and ping/pong works as expected, pong automatically sent back to client. You did not specify what client you are using to send Ping to server. What client are you using and what code is the client sending Ping with? Is your console.log showing that the ping event gets called on the server? |
Beta Was this translation helpful? Give feedback.
I just tried this with ws client library and ping/pong works as expected, pong automatically sent back to client. You did not specify what client you are using to send Ping to server. What client are you using and what code is the client sending Ping with? Is your console.log showing that the ping event gets called on the server?