mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-30 10:42:48 +08:00
Add more handling options to interceptor contexts.
This commit is contained in:
@@ -265,7 +265,7 @@ namespace MQTTnet.Tests.Server
|
||||
{
|
||||
if (c.TopicFilter.Topic == "not_allowed_topic")
|
||||
{
|
||||
c.ReasonCode = MqttSubscribeReasonCode.TopicFilterInvalid;
|
||||
c.Response.ReasonCode = MqttSubscribeReasonCode.TopicFilterInvalid;
|
||||
}
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user