I’m using the SoftAP to host webpage and display things to the user.
cb(cbArg, 0, 200, myPages[idx].mime_type, nullptr); result->write(myPages[idx].data);
I would like to be able to load webpage directly from an SD card instead of having to store everything in big buffers like the SoftAP example does.
How should I do that?
I’m not sure what is the best way to pass the data to the Writer.
I could load temporary the page in ram (with malloc) and pass it to the writer and then flush it but there must be a better of doing this.