mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
Added support for persisted retained messages.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace MQTTnet.Server.Configuration
|
||||
{
|
||||
public class RetainedApplicationMessagesModel
|
||||
{
|
||||
public bool Persist { get; set; } = false;
|
||||
|
||||
public int WriteInterval { get; set; } = 10;
|
||||
|
||||
public string Filename { get; set; } = "RetainedApplicationMessages.json";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user