8 references to AddSubProtocol
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
23webSocket.Options.AddSubProtocol(settings.SubProtocol);
Microsoft.AspNetCore.Http.Connections.Tests (2)
MapConnectionHandlerTests.cs (2)
400client.Options.AddSubProtocol("protocol1"); 401client.Options.AddSubProtocol("protocol2");
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
218client.Options.AddSubProtocol(protocol);
Microsoft.AspNetCore.WebSockets.Tests (3)
WebSocketMiddlewareTests.cs (3)
46client.Options.AddSubProtocol("alpha"); 47client.Options.AddSubProtocol("bravo"); 48client.Options.AddSubProtocol("charlie");
System.ServiceModel.Http (1)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
173clientWebSocket.Options.AddSubProtocol(WebSocketSettings.SubProtocol);