event(event, data) {
        const payload = `event: ${event}\ndata: ${data}\n\n`;

        this.clients.forEach(client => {
            client.write(payload);
        });
    }
Multi-line strings shall be split and fed into this method line-by-line to be parsable by the frontend

@param {string} event
@param {string} data