Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Nov 26, 2020
1 parent 30b9796 commit 7006fb7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ composer require simps/mqtt

参考 [examples](./examples) 目录

## 方法
## Client API

### __construct()

Expand Down Expand Up @@ -175,3 +175,11 @@ Simps\MQTT\Client->ping()
```php
Simps\MQTT\Client->buildMessageId()
```

### genClientId()

生成ClientId

```php
Simps\MQTT\Client->genClientID()
```
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ composer require simps/mqtt

see [examples](./examples)

## Methods
## Client API

### __construct()

Expand Down Expand Up @@ -163,3 +163,11 @@ Generate MessageId
```php
Simps\MQTT\Client->buildMessageId()
```

### genClientId()

Generate ClientId

```php
Simps\MQTT\Client->genClientID()
```

0 comments on commit 7006fb7

Please sign in to comment.