Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

readme.md 908 B

12345678910111213141516171819
  1. This directory contains scripts which are loaded by the server and can be used to perform the following tasks.
  2. 1. Validation of client connections via credentials, client IDs etc.
  3. 2. Manipulation of every processed message.
  4. 3. Validation of subscription attempts.
  5. 4. Publishing of custom application messages.
  6. All scripts are loaded and _MQTTnet Server_ will invoke functions according to predefined naming conventions.
  7. If a function is implemented in multiple scripts the context will be moved throug all instances. This allows overriding of results or passing data to other (following) scripts.
  8. The Python starndard library ships with _MQTTnet Server_. But it is possible to add custom paths with Python libraries.
  9. ```
  10. import sys
  11. sys.path.append(PATH_TO_LIBRARY)
  12. ```
  13. * All scripts must have the file extension _.py_.
  14. * All scripts are sorted alphabetically (A to Z) before being loaded and parsed.