uri doesnt need to be a string

This commit is contained in:
Proddy
2024-03-12 23:08:06 +01:00
parent d36fe1c0bf
commit 39cfa3ab79

View File

@@ -12,7 +12,7 @@ const bytesPerLine = 20;
var totalSize = 0;
const generateWWWClass = () =>
`typedef std::function<void(const String& uri, const String& contentType, const uint8_t * content, size_t len, const String& hash)> RouteRegistrationHandler;
`typedef std::function<void(const char * uri, const String & contentType, const uint8_t * content, size_t len, const String & hash)> RouteRegistrationHandler;
// Total size is ${totalSize} bytes
class WWWData {