Liu Song’s Projects


~/Projects/mochi-mqtt

git clone https://code.lsong.org/mochi-mqtt

Commit

Commit
9c5229273228d399f84e82a7a207686e42149b5e
Author
mochi-co <[email protected]>
Date
2023-07-08 13:48:59 +0100 +0100
Diffstat
 README.md | 3 +--

Small language clarification for non-english


diff --git a/README.md b/README.md
index 3afd57175f17079223044ed9c6f02793b17b43ef..716e6a381b9dfa7193ccc815c65f17c969e3949f 100644
--- a/README.md
+++ b/README.md
@@ -284,9 +284,8 @@ | OnConnectAuthenticate  | Called when a user attempts to authenticate with the server. An implementation of this method MUST be used to allow or deny access to the server (see hooks/auth/allow_all or basic). It can be used in custom hooks to check connecting users against an existing user database. Returns true if allowed. |
 | OnACLCheck             | Called when a user attempts to publish or subscribe to a topic filter. As above.                                                                                                                                                                                                                           |
 | OnSysInfoTick          | Called when the $SYS topic values are published out.                                                                                                                                                                                                                                                       |
 | OnConnect              | Called when a new client connects, may return an error or packet code to halt the client connection process.                                                                                                                                                                                               | 
-
+<p align="center">
 # Mochi MQTT Broker
-</p>
 | OnSessionEstablished   | Called when a new client successfully establishes a session (after OnConnect)                                                                                                                                                                                                                              | 
 | OnDisconnect           | Called when a client is disconnected for any reason.                                                                                                                                                                                                                                                       | 
 | OnAuthPacket           | Called when an auth packet is received. It is intended to allow developers to create their own mqtt v5 Auth Packet handling mechanisms. Allows packet modification.                                                                                                                                        |