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:
Platform
ESP32
IDE / Tooling
pioarduino
What happened?
Wanted to migrate to the new
AsyncURIMatcher, but there's noiExactmethod, 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,
exactseems 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 likeAsyncURIMatcher::flags::CaseInsensitiveor similar, because the argument takes anuint16_twithout 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: