You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.5 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <p align="center">
  2. <img src="https://github.com/chkr1011/MQTTnet/blob/master/Images/Logo_128x128.png?raw=true" width="128">
  3. </p>
  4. [![NuGet Badge](https://buildstats.info/nuget/MQTTnet)](https://www.nuget.org/packages/MQTTnet)
  5. [![BCH compliance](https://bettercodehub.com/edge/badge/chkr1011/MQTTnet?branch=master)](https://bettercodehub.com/)
  6. # MQTTnet
  7. MQTTnet is a .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
  8. # Features
  9. ### General
  10. * Async support
  11. * TLS 1.2 support for client and server (but not UWP servers)
  12. * Extensible communication channels (i.e. In-Memory, TCP, TCP+TLS, WS)
  13. * Lightweight (only the low level implementation of MQTT, no overhead)
  14. * Performance optimized (processing ~27.000 messages / second)*
  15. * Interfaces included for mocking and testing
  16. * Access to internal trace messages
  17. * Unit tested (62+ tests)
  18. \* Tested on local machine with MQTTnet client and server running in the same process using the TCP channel. The app for verification is part of this repository and stored in _/Tests/MQTTnet.TestApp.NetFramework_.
  19. ### Client
  20. * Rx support (via another project)
  21. * Communication via TCP (+TLS) or WS (WebSocket)
  22. ### Server (broker)
  23. * List of connected clients available
  24. * Supports connected clients with different protocol versions at the same time
  25. * Able to publish its own messages (no loopback client required)
  26. * Able to receive every messages (no loopback client required)
  27. * Extensible client credential validation
  28. * Retained messages are supported including persisting via interface methods (own implementation required)
  29. # Supported frameworks
  30. * .NET Standard 1.3+
  31. * .NET Core 1.1+
  32. * .NET Core App 1.1+
  33. * .NET Framework 4.5.2+ (x86, x64, AnyCPU)
  34. * Universal Windows (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU)
  35. * Mono 5.2+
  36. # Supported MQTT versions
  37. * 3.1.1
  38. * 3.1.0
  39. # Nuget
  40. This library is available as a nuget package: https://www.nuget.org/packages/MQTTnet/
  41. # Examples
  42. Please find examples and the documentation at the Wiki of this repository (https://github.com/chkr1011/MQTTnet/wiki).
  43. # Contributions
  44. If you want to contribute to this project just create a pull request.
  45. # References
  46. This library is used in the following projects:
  47. * MQTT Client Rx (Wrapper for Reactive Extensions, https://github.com/1iveowl/MQTTClient.rx)
  48. * HA4IoT (Open Source Home Automation system for .NET, https://github.com/chkr1011/HA4IoT)
  49. If you use this library and want to see your project here please let me know.