Skip to content

Commit

Permalink
Document tokeniseTopic
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Dec 5, 2013
1 parent 11fbd99 commit 7112304
Showing 1 changed file with 9 additions and 1 deletion.
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

0 comments on commit 7112304

Please sign in to comment.