Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // My WebSocketApplication subclass
- @Override
- public void onPong(WebSocket socket, byte[] bytes) {
- System.out.println("*** *** onPong() *** ***");
- super.onPong(socket, bytes);
- }
- // My client's send invocation
- webSocket.send(new DataFrame(new PongFrameType(), new byte[0], true).getBytes());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement