Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 7 gadiem
pirms 2 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 4 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 4 gadiem
pirms 6 gadiem
pirms 2 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 4 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 6 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 2 gadiem
pirms 7 gadiem
pirms 2 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <p align="center">
  2. <img src="https://github.com/dotnet/MQTTnet/blob/master/Images/icon_det_256.png?raw=true" width="196">
  3. <br/>
  4. <br/>
  5. </p>
  6. [![NuGet Badge](https://buildstats.info/nuget/MQTTnet)](https://www.nuget.org/packages/MQTTnet)
  7. [![CI](https://github.com/dotnet/MQTTnet/actions/workflows/ci.yml/badge.svg)](https://github.com/dotnet/MQTTnet/actions/workflows/ci.yml)
  8. [![MyGet](https://img.shields.io/myget/mqttnet/v/mqttnet?color=orange&label=MyGet-Preview)](https://www.myget.org/feed/mqttnet/package/nuget/MQTTnet)
  9. ![Size](https://img.shields.io/github/repo-size/dotnet/MQTTnet.svg)
  10. [![Join the chat at https://gitter.im/MQTTnet/community](https://badges.gitter.im/MQTTnet/community.svg)](https://gitter.im/MQTTnet/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
  11. [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://raw.githubusercontent.com/dotnet/MQTTnet/master/LICENSE)
  12. # MQTTnet
  13. MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker) and supports the MQTT protocol up to version 5.
  14. ## Features
  15. ### General
  16. * Async support
  17. * TLS support for client and server (but not UWP servers)
  18. * Extensible communication channels (e.g. In-Memory, TCP, TCP+TLS, WS)
  19. * Lightweight (only the low level implementation of MQTT, no overhead)
  20. * Performance optimized (processing ~150.000 messages / second)*
  21. * Uniform API across all supported versions of the MQTT protocol
  22. * Interfaces included for mocking and testing
  23. * Access to internal trace messages
  24. * Unit tested (~636 tests)
  25. * No external dependencies
  26. \* 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_.
  27. ### Client
  28. * Communication via TCP (+TLS) or WS (WebSocket) supported
  29. * Included core _LowLevelMqttClient_ with low level functionality
  30. * Also included _ManagedMqttClient_ which maintains the connection and subscriptions automatically. Also application messages are queued and re-scheduled for higher QoS levels automatically.
  31. * Rx support (via another project)
  32. * Compatible with Microsoft Azure IoT Hub
  33. ### Server (broker)
  34. * List of connected clients available
  35. * Supports connected clients with different protocol versions at the same time
  36. * Able to publish its own messages (no loopback client required)
  37. * Able to receive every message (no loopback client required)
  38. * Extensible client credential validation
  39. * Retained messages are supported including persisting via interface methods (own implementation required)
  40. * WebSockets supported (via ASP.NET Core 2.0, separate nuget)
  41. * A custom message interceptor can be added which allows transforming or extending every received application message
  42. * Validate subscriptions and deny subscribing of certain topics depending on requesting clients
  43. * Connect clients with different protocol versions at the same time.
  44. ## Supported frameworks
  45. | Framwork | Version |
  46. | ------------------ | ----------- |
  47. |.NET | 5.0+ |
  48. |.NET Framework | 4.5.2+ |
  49. |.NET Standard | 1.3+ |
  50. |.NET Core | 1.1+ |
  51. |.NET Core App | 1.1+ |
  52. | Mono | 5.2+ |
  53. | UWP | 10.0.10240+ |
  54. | Xamarin.Android | 7.5+ |
  55. | Xamarin.iOS | 10.14+ |
  56. | Blazor WebAssembly | 3.2.0+ |
  57. ## References
  58. This library is used in the following projects:
  59. * Azure Functions MQTT Bindings, <https://github.com/keesschollaart81/CaseOnline.Azure.WebJobs.Extensions.Mqtt>)
  60. * HA4IoT (Open Source Home Automation system for .NET, <https://github.com/chkr1011/HA4IoT>)
  61. * MQTT Client Rx (Wrapper for Reactive Extensions, <https://github.com/1iveowl/MQTTClient.rx>)
  62. * MQTT Client Rx (Managed Client Wrapper for Reactive Extensions, <https://github.com/mmuecke/RxMQTTnet>)
  63. * 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))
  64. * MQTTnet App (Cross platform client application for MQTT debugging, inspection etc., <https://github.com/chkr1011/MQTTnetApp>)
  65. * Wirehome.Core (Open Source Home Automation system for .NET Core, <https://github.com/chkr1011/Wirehome.Core>)
  66. * SparkplugNet (Sparkplug library for .Net, <https://github.com/SeppPenner/SparkplugNet>)
  67. * Silverback (Framework to build event-driven applications - support for MQTT, Kafka & RabbitMQ) <https://github.com/BEagle1984/silverback>
  68. Further projects using this project can be found under https://github.com/dotnet/MQTTnet/network/dependents.
  69. If you use this library and want to see your project here please create a pull request.
  70. ## Code of Conduct
  71. This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
  72. For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
  73. ## .NET Foundation
  74. This project is supported by the [.NET Foundation](https://dotnetfoundation.org).