Remove hacky WebSocket connection factory. (#171)
Replace it with the new (officially-supported) ClientWebSocket SSL functionality in .NET Core 2.1. kubernetes-client/csharp#130
This commit is contained in:
committed by
Brendan Burns
parent
6e0aec994e
commit
a358cb9afd
@@ -269,7 +269,7 @@ namespace k8s
|
||||
|
||||
if (webSocketSubProtocol != null)
|
||||
{
|
||||
webSocketBuilder.Options.RequestedSubProtocols.Add(webSocketSubProtocol);
|
||||
webSocketBuilder.Options.AddSubProtocol(webSocketSubProtocol);
|
||||
}
|
||||
#endif // NETCOREAPP2_1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user