PlatformIO Community

WebSerial / ESPAsyncWebServer help

Hi,
Does anyone know if it is possible to check if ESPAsyncWebServer is up and running before executing WebSerial.println(message); ? I have run in situations where I called WebSerial and the HTTP server was down and ESP8266 crashed.

RG