mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
remove select method (#1959)
This commit is contained in:
@@ -76,7 +76,7 @@ namespace MQTTnet.Extensions.WebSocket4Net
|
|||||||
List<KeyValuePair<string, string>> customHeaders = null;
|
List<KeyValuePair<string, string>> customHeaders = null;
|
||||||
if (_webSocketOptions.RequestHeaders != null)
|
if (_webSocketOptions.RequestHeaders != null)
|
||||||
{
|
{
|
||||||
customHeaders = _webSocketOptions.RequestHeaders.Select(i => new KeyValuePair<string, string>(i.Key, i.Value)).ToList();
|
customHeaders = _webSocketOptions.RequestHeaders.ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
EndPoint proxy = null;
|
EndPoint proxy = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user