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 5.4 KiB

il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 6 ans
il y a 7 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <p align="center">
  2. <img src="https://github.com/chkr1011/MQTTnet/blob/master/Images/Logo_128x128.png?raw=true" width="128">
  3. <br/>
  4. <br/>
  5. </p>
  6. [![NuGet Badge](https://buildstats.info/nuget/MQTTnet)](https://www.nuget.org/packages/MQTTnet)
  7. [![Build status](https://ci.appveyor.com/api/projects/status/ycit86voxfevm2aa/branch/master?svg=true)](https://ci.appveyor.com/project/chkr1011/mqttnet)
  8. [![BCH compliance](https://bettercodehub.com/edge/badge/chkr1011/MQTTnet?branch=master)](https://bettercodehub.com/)
  9. [![OpenCollective](https://opencollective.com/mqttnet/backers/badge.svg)](https://opencollective.com/mqttnet)
  10. [![OpenCollective](https://opencollective.com/mqttnet/sponsors/badge.svg)](https://opencollective.com/mqttnet)
  11. # MQTTnet
  12. MQTTnet is a high performance .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/>.
  13. ## Features
  14. ### General
  15. * Async support
  16. * TLS 1.2 support for client and server (but not UWP servers)
  17. * Extensible communication channels (i.e. In-Memory, TCP, TCP+TLS, WS)
  18. * Lightweight (only the low level implementation of MQTT, no overhead)
  19. * Performance optimized (processing ~70.000 messages / second)*
  20. * Interfaces included for mocking and testing
  21. * Access to internal trace messages
  22. * Unit tested (~100 tests)
  23. \* Tested on local machine (Intel i7 8700K) 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.NetCore_.
  24. ### Client
  25. * Communication via TCP (+TLS) or WS (WebSocket) supported
  26. * Included core _MqttClient_ with low level functionality
  27. * Also included _ManagedMqttClient_ which maintains the connection and subscriptions automatically. Also application messages are queued and re-scheduled for higher QoS levels automatically.
  28. * Rx support (via another project)
  29. * Compatible with Microsoft Azure IoT Hub
  30. ### Server (broker)
  31. * List of connected clients available
  32. * Supports connected clients with different protocol versions at the same time
  33. * Able to publish its own messages (no loopback client required)
  34. * Able to receive every message (no loopback client required)
  35. * Extensible client credential validation
  36. * Retained messages are supported including persisting via interface methods (own implementation required)
  37. * WebSockets supported (via ASP.NET Core 2.0, separate nuget)
  38. * A custom message interceptor can be added which allows transforming or extending every received application message
  39. * Validate subscriptions and deny subscribing of certain topics depending on requesting clients
  40. ## Supported frameworks
  41. * .NET Standard 1.3+
  42. * .NET Core 1.1+
  43. * .NET Core App 1.1+
  44. * .NET Framework 4.5.2+ (x86, x64, AnyCPU)
  45. * Mono 5.2+
  46. * Universal Windows Platform (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU, Windows 10 IoT Core)
  47. * Xamarin.Android 7.5+
  48. * Xamarin.iOS 10.14+
  49. ## Supported MQTT versions
  50. * 5.0.0 (planned)
  51. * 3.1.1
  52. * 3.1.0
  53. ## Nuget
  54. This library is available as a nuget package: <https://www.nuget.org/packages/MQTTnet/>
  55. ## Examples
  56. Please find examples and the documentation at the Wiki of this repository (<https://github.com/chkr1011/MQTTnet/wiki>).
  57. ## Contributions
  58. If you want to contribute to this project just create a pull request. But only pull requests which are matching the code style of this library will be accepted. Before creating a pull request please have a look at the library to get an overview of the required style.
  59. Also additions and updates in the Wiki are welcome.
  60. This project also listed at Open Collective (https://opencollective.com/mqttnet).
  61. ## References
  62. This library is used in the following projects:
  63. * Azure Functions MQTT Bindings, [CaseOnline.Azure.WebJobs.Extensions.Mqtt](https://github.com/keesschollaart81/CaseOnline.Azure.WebJobs.Extensions.Mqtt/)
  64. * HA4IoT (Open Source Home Automation system for .NET, <https://github.com/chkr1011/HA4IoT>)
  65. * MQTT Client Rx (Wrapper for Reactive Extensions, <https://github.com/1iveowl/MQTTClient.rx>)
  66. * MQTT Tester (MQTT client test app for [Android](https://play.google.com/store/apps/details?id=com.liveowl.mqtttester) and [iOS](https://itunes.apple.com/us/app/mqtt-tester/id1278621826?mt=8))
  67. * Wirehome.Core (Open Source Home Automation system for .NET Core, <https://github.com/chkr1011/Wirehome.Core>)
  68. If you use this library and want to see your project here please create a pull request.
  69. ## MIT License
  70. Copyright (c) 2017-2018 Christian Kratky
  71. Permission is hereby granted, free of charge, to any person obtaining a copy
  72. of this software and associated documentation files (the "Software"), to deal
  73. in the Software without restriction, including without limitation the rights
  74. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  75. copies of the Software, and to permit persons to whom the Software is
  76. furnished to do so, subject to the following conditions:
  77. The above copyright notice and this permission notice shall be included in all
  78. copies or substantial portions of the Software.
  79. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  80. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  81. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  82. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  83. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  84. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  85. SOFTWARE.