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 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 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/.
  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 (67+ 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. * Communication via TCP (+TLS) or WS (WebSocket) supported
  21. * Included core _MqttClient_ with low level functionality
  22. * Also included _ManagedMqttClient_ which maintains the connection and subscriptions automatically. Also application messages are queued and re-scheduled for higher QoS levels automatically.
  23. * Rx support (via another project)
  24. ### Server (broker)
  25. * List of connected clients available
  26. * Supports connected clients with different protocol versions at the same time
  27. * Able to publish its own messages (no loopback client required)
  28. * Able to receive every message (no loopback client required)
  29. * Extensible client credential validation
  30. * Retained messages are supported including persisting via interface methods (own implementation required)
  31. * WebSockets supported (via ASP.NET Core 2.0)
  32. # Supported frameworks
  33. * .NET Standard 1.3+
  34. * .NET Core 1.1+
  35. * .NET Core App 1.1+
  36. * .NET Framework 4.5.2+ (x86, x64, AnyCPU)
  37. * Universal Windows (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU)
  38. * Mono 5.2+
  39. # Supported MQTT versions
  40. * 3.1.1
  41. * 3.1.0
  42. # Nuget
  43. This library is available as a nuget package: https://www.nuget.org/packages/MQTTnet/
  44. # Examples
  45. Please find examples and the documentation at the Wiki of this repository (https://github.com/chkr1011/MQTTnet/wiki).
  46. # Contributions
  47. 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.
  48. # References
  49. This library is used in the following projects:
  50. * MQTT Client Rx (Wrapper for Reactive Extensions, https://github.com/1iveowl/MQTTClient.rx)
  51. * Wirehome (Open Source Home Automation system for .NET, https://github.com/chkr1011/Wirehome)
  52. If you use this library and want to see your project here please let me know.
  53. # MIT License
  54. Copyright (c) 2017 Christian Kratky
  55. Permission is hereby granted, free of charge, to any person obtaining a copy
  56. of this software and associated documentation files (the "Software"), to deal
  57. in the Software without restriction, including without limitation the rights
  58. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  59. copies of the Software, and to permit persons to whom the Software is
  60. furnished to do so, subject to the following conditions:
  61. The above copyright notice and this permission notice shall be included in all
  62. copies or substantial portions of the Software.
  63. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  64. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  65. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  66. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  67. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  68. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  69. SOFTWARE.