Help with merge esp web server with sensor read data.

Thank you Paul, for replay.

Well, in server code I have:

  sensorValue = analogRead(sensorPin);    
  delay(250);                  
  server.handleClient();

and in ir code I have serial.print

Do I need to make a new function from serial.print and to out it with cl.print?

If I replace serial.print with cl.print I have error that it's not implemented...