瀏覽代碼

revert accidential change

release/3.x.x
JanEggers 5 年之前
父節點
當前提交
9475ccd0d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs

+ 1
- 1
Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs 查看文件

@@ -46,7 +46,7 @@ namespace MQTTnet.AspNetCore
var writer = new SpanBasedMqttPacketWriter();
var formatter = new MqttPacketFormatterAdapter(writer);
var channel = new MqttWebSocketChannel(webSocket, endpoint, isSecureConnection);
var channelAdapter = new MqttChannelAdapter(channel, formatter, new MqttNetLogger().CreateChildLogger(nameof(MqttWebSocketServerAdapter)));
var channelAdapter = new MqttChannelAdapter(channel, formatter, _logger.CreateChildLogger(nameof(MqttWebSocketServerAdapter)));

var eventArgs = new MqttServerAdapterClientAcceptedEventArgs(channelAdapter);
ClientAcceptedHandler?.Invoke(eventArgs);


Loading…
取消
儲存