Bu yerda mos formatlash bilan javob kodining ro'yxati. ``` const WebSocket = require('ws'); const wss = new WebSocket.Server({ port: 8080 }); wss.on('connection', (ws) => { console.log('Client connected'); ws.on('message', (message) => { console.log(Received message: ${message}); // Broadcast message to all clients wss.clients.forEach client) => { if (client.readyState == WebSocket.OPEN) { client.send(message); } }); }); ``` `` const WebSocket = require('ws'); const wss = new WebSocket.Server({ port: 8080 }); wss.on('
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence