| 50 | } |
| 51 | |
| 52 | void onStream(HttpRequest& request, HttpResponse& response) |
| 53 | { |
| 54 | Serial.println(_F("perform onCapture()")); |
| 55 | |
| 56 | MultipartStream* stream = new MultipartStream(snapshotProducer); |
| 57 | response.sendDataStream(stream, F("multipart/x-mixed-replace; boundary=") + stream->getBoundary()); |
| 58 | } |
| 59 | |
| 60 | void onFavicon(HttpRequest& request, HttpResponse& response) |
| 61 | { |
nothing calls this directly
no test coverage detected