mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-24 20:21:49 +00:00
Fix subscription to wildcard topics
`mg_mqtt_match_topic_expression()` and friends are public now. So far, only `#` is supported. PUBLISHED_FROM=20c031bcf34be84771c4a9c456318634eb9a517c
This commit is contained in:
1 parent
60c16bbb5d
commit
3942914945
5 files changed
+55
-22
No files matched your search
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "mg_mqtt_match_topic_expression()"
|
||||
decl_name: "mg_mqtt_match_topic_expression"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
int mg_mqtt_match_topic_expression(struct mg_str exp, struct mg_str topic);
|
||||
---
|
||||
|
||||
Matches a topic against a topic expression
|
||||
|
||||
Returns 1 if it matches; 0 otherwise.
|
||||
|
||||
Reference in new issue
Block a user