Open KiNGKiMO opened 8 months ago
Hello, If a client sends "ping" request to workerman websocket worker, wrokerman auto replies with "pong" but I cannot catch that ping request at onMessage.
Any idea how to intercept a websocket worker's ping request?
onWebSocketPing onWebSocketPong
@tianyiw2013 Thank you so much, did not know that existed.
怎么使用?用的TP+workerman
Hello, If a client sends "ping" request to workerman websocket worker, wrokerman auto replies with "pong" but I cannot catch that ping request at onMessage.
Any idea how to intercept a websocket worker's ping request?