method
bun.WebSocketHandler.pong
pong(
): void | Promise<void>;
Called when a pong is received.
Like a binary message, data has the type that binaryType selects. The declared type is the one of the default binaryType.
@param ws
The websocket that received the pong
@param data
The data sent with the pong