Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokenize topic #7

Merged
merged 4 commits into from
Dec 5, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Document tokeniseTopic
  • Loading branch information
mgdm committed Dec 5, 2013
commit 7112304c916d94262d54e9444ce3b3f07b56a99d
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ properties.
| qos | int | The QoS value applied to this message. |
| retain | bool | Whether this is a retained message or not. |

This class has one static method.
This class has two static methods.

#### topicMatchesSub

Expand All @@ -347,6 +347,14 @@ otherwise false.
| topic | string | The topic to match |
| subscription | string | The subscription to match |

#### tokeniseTopic

Tokenise a topic or subscription string into an array of strings representing the topic hierarchy.

| Parameter | Type | Description |
| --- | --- | ---- |
| topic | string | The topic to tokenise |

### Class Mosquitto\Exception

This is an exception that may be thrown by many of the operations in the Client
Expand Down