You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to pass the StreamHttpRequest type to another method or function?
When you receive an error similar to:
src/SomeFile.hpp:23:37: error: 'ArduinoHttpServer::StreamHttpRequest' is not a type
You might have forgotten to specify the capacity specifier (or template parameter).
E.g.:
void process(ArduinoHttpServer::StreamHttpRequest& httpSession);
will produce a compilation similar to the error above due to the missing capacity specifier.