Bladeren bron

revert accidential change

release/3.x.x
JanEggers 5 jaren geleden
bovenliggende
commit
9475ccd0d8
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs

+ 1
- 1
Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs Bestand weergeven

@@ -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);


Laden…
Annuleren
Opslaan