ifdef NoNanoHTTPD static virtual NanoHTTPD.Response serveFile(File file) { ret subBot_serveFile(file); } static virtual NanoHTTPD.Response serveFile(File file, S mimeType) { ret subBot_serveFile(file, mimeType); } endifdef ifndef NoNanoHTTPD static NanoHTTPD.Response serveFile(File file) { ret serveFile(file, "application/octet-stream"); } static NanoHTTPD.Response serveFile(File file, S mimeType) ctex { ret NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Status.OK, mimeType, newFileInputStream(file), file.length()); } endifndef