mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 18:43:10 +08:00
WIP
First draft for MQTTnetServer project * Basic support for settings * Nasty code for setting up kestrel from appsettings.json
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"MQTTnetServer": {
|
||||
/*
|
||||
Wildcard Addresses:
|
||||
* - All local IP addresses
|
||||
localhost - Localhost only
|
||||
|
||||
Supported Protocols:
|
||||
0 - HTTP
|
||||
1 - HTTPS
|
||||
20 - MQTT
|
||||
*/
|
||||
"Listen": [
|
||||
{
|
||||
"Address": "localhost",
|
||||
"Port": 5000,
|
||||
"Protocol": 0
|
||||
},
|
||||
{
|
||||
"Address": "*",
|
||||
"Port": 1883,
|
||||
"Protocol": 20
|
||||
}
|
||||
]
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user