I am trying to make a webserver with the ESP8266. I have no problem with the server setup, but I want the server to serve an html file to the client when a connection is made. I know about function ESP8266WebServer::send(..), but that only allows me to send a line. How can i do it to save the html file's text into the ESP8266 (a variable, file, whatever) and get it sent to the client? I could write each line to a different String and send the one by one... But that doesnt seem very neet.
Any help is appreciated.
Thanks!