function sendText(text, id, mimeType, processText) {
		webServer?.send(id, {
			status: 200,
			body: processText ? processText(text) : text,
			headers: {
				"Content-Type": mimeType || "text/html",
			},
		});
	}
Sends text
@param {string} text
@param {string} id
@param {string} mimeType
@param {(txt: string) => string} processText