-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Platform
ESP32
IDE / Tooling
pioarduino
What happened?
Wanted to migrate to the new AsyncURIMatcher, but there's no iExact method, even though it's listed as an example here. My IDE can't find it, and looking at the source code, it looks like it doesn't exists.
Side note, exact seems like the only real alternative, but there was no examples of how to apply flags. After some debugging I found an example tucked away in a comment in the source code here: AsyncURIMatcher::CaseInsensitive. Would be easier if there was an enum like AsyncURIMatcher::flags::CaseInsensitive or similar, because the argument takes an uint16_t without hinting about supported values.
Stack Trace
class "AsyncURIMatcher" has no member "iExact"
Minimal Reproductible Example (MRE)
Try following the examples here, specifically this line: server.on(AsyncURIMatcher::iExact("/case"), handler);
I confirm that:
- I have read the documentation.
- I have searched for similar discussions.
- I have searched for similar issues.
- I have looked at the examples.
- I have upgraded to the lasted version of ESPAsyncWebServer (and AsyncTCP for ESP32).