@ Override public void onWebsocketPing ( WebSocket conn , Framedata f ) { conn . sendFrame ( new PongFrame ( ( PingFrame ) f ) ) ; }
This default implementation will send a pong in response to the received ping . The pong frame will have the same payload as the ping frame .