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:
Adam Friedman
2018-06-08 09:47:39 +10:00
committed by Brendan Burns
parent 6e0aec994e
commit a358cb9afd
6 changed files with 69 additions and 736 deletions

View File

@@ -269,7 +269,7 @@ namespace k8s
if (webSocketSubProtocol != null)
{
webSocketBuilder.Options.RequestedSubProtocols.Add(webSocketSubProtocol);
webSocketBuilder.Options.AddSubProtocol(webSocketSubProtocol);
}
#endif // NETCOREAPP2_1