Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add OnPublishToClient description
  • Loading branch information
leijux authored Apr 7, 2024
1 parent bba0e49 commit 3fed5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ The function signatures for all the hooks and `mqtt.Hook` interface can be found
| OnUnsubscribe | Called when a client unsubscribes from one or more filters. Allows packet modification. |
| OnUnsubscribed | Called when a client successfully unsubscribes from one or more filters. |
| OnPublish | Called when a client publishes a message. Allows packet modification. |
| OnSendToSubscriber | Called when a message is about to be sent to the subscriber. |
| OnPublished | Called when a client has published a message to subscribers. |
| OnPublishDropped | Called when a message to a client is dropped before delivery, such as if the client is taking too long to respond. |
| OnRetainMessage | Called then a published message is retained. |
Expand Down

0 comments on commit 3fed5bc

Please sign in to comment.