Re: ESP8266WebServer example
Posted: Thu Apr 09, 2015 7:17 am
Found this:
https://gist.github.com/igrr/3b66292cf8708770f76b
Looks like this is how we get access to the client object and do what I want to do:
https://gist.github.com/igrr/3b66292cf8708770f76b
Looks like this is how we get access to the client object and do what I want to do:
Code: Select all
void handle_image() {
server.send(200, "image/png", "");
WiFiClient client = server.client();
client.write(image, sizeof(image));
}