Skip to content

Instantly share code, notes, and snippets.

@nkalra0123
Created June 27, 2021 12:09
Show Gist options
  • Save nkalra0123/85f7890734da8720532049f9ba2cb650 to your computer and use it in GitHub Desktop.
Save nkalra0123/85f7890734da8720532049f9ba2cb650 to your computer and use it in GitHub Desktop.
else if (frame.getOpCode() == OpCode.Ping) {
sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment