{"version":3,"file":"reply-to-ping.mjs","names":[],"sources":["../../src/functionalities/reply-to-ping.ts"],"sourcesContent":["import type { SingleConnection } from \"~/client/connection\";\n\nexport function replyToServerPing(conn: SingleConnection): void {\n  conn.on(\"PING\", (message) => {\n    if (message.argument == null) {\n      conn.sendRaw(\"PONG\");\n    } else {\n      conn.sendRaw(`PONG :${message.argument}`);\n    }\n  });\n}\n"],"mappings":";AAEA,SAAgB,kBAAkB,MAA8B;AAC9D,MAAK,GAAG,SAAS,YAAY;AAC3B,MAAI,QAAQ,YAAY,KACtB,MAAK,QAAQ,OAAO;MAEpB,MAAK,QAAQ,SAAS,QAAQ,WAAW;GAE3C"}