Missing AsyncURIMatcher::iExact method
#361
Replies: 4 comments 6 replies
-
📝 CodeRabbit Plan ModeGenerate an implementation plan and prompts that you can use with your favorite coding agent.
🔗 Similar IssuesRelated Issues
👤 Suggested Assignees🧪 Issue enrichment is currently in open beta.You can configure auto-planning by selecting labels in the issue_enrichment configuration. To disable automatic issue enrichment, add the following to your issue_enrichment:
auto_enrich:
enabled: false💬 Have feedback or questions? Drop into our discord or schedule a call! |
Beta Was this translation helpful? Give feedback.
-
|
Quick follow up question, what's the difference between Would like to use |
Beta Was this translation helpful? Give feedback.
-
|
@JanPetterMG : please have a look at the code like you did and also the examples in the project. The real doc is the code itself. If you do really like doc more than reading code, I would suggest you open a PR and contribute to help this OSS project. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Closing this, as it's not an discussion, but rather a bug report with a follow up question! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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:
Beta Was this translation helpful? Give feedback.
All reactions