48 instantiations of ClientWebSocket
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
19ClientWebSocket webSocket = new ClientWebSocket();
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (4)
68using var cws = new ClientWebSocket(); 81using var cws = new ClientWebSocket(); 93using var cws = new ClientWebSocket(); 110using var cws = new ClientWebSocket();
IISExpress.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (4)
68using var cws = new ClientWebSocket(); 81using var cws = new ClientWebSocket(); 93using var cws = new ClientWebSocket(); 110using var cws = new ClientWebSocket();
Interop.FunctionalTests (2)
Http2WebSocketInteropTests.cs (2)
79var wsClient = new ClientWebSocket(); 143var wsClient = new ClientWebSocket();
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
92var webSocket = new ClientWebSocket();
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
399var client = new ClientWebSocket();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (9)
HubConnectionTests.cs (9)
2556var websocket = new ClientWebSocket(); 2587websocket = new ClientWebSocket(); 2615var websocket = new ClientWebSocket(); 2655websocket = new ClientWebSocket(); 2685var websocket = new ClientWebSocket(); 2727websocket = new ClientWebSocket(); 2765var ws = new ClientWebSocket(); 2859var websocket = new ClientWebSocket(); 2898websocket = new ClientWebSocket();
Microsoft.AspNetCore.SignalR.Tests (2)
EndToEndTests.cs (2)
95using (var ws = new ClientWebSocket()) 133using (var ws = new ClientWebSocket())
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestHelpers.cs (1)
14new ClientWebSocket().Dispose();
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
214using (var client = new ClientWebSocket())
Microsoft.AspNetCore.WebSockets.Tests (21)
WebSocketCompressionMiddlewareTests.cs (1)
135using (var client = new ClientWebSocket())
WebSocketMiddlewareTests.cs (20)
27using (var client = new ClientWebSocket()) 44using (var client = new ClientWebSocket()) 77using (var client = new ClientWebSocket()) 103using (var client = new ClientWebSocket()) 128using (var client = new ClientWebSocket()) 156using (var client = new ClientWebSocket()) 203using (var client = new ClientWebSocket()) 229using (var client = new ClientWebSocket()) 254using (var client = new ClientWebSocket()) 279using (var client = new ClientWebSocket()) 314using (var client = new ClientWebSocket()) 361using (var client = new ClientWebSocket()) 383using (var client = new ClientWebSocket()) 419using (var client = new ClientWebSocket()) 449using (var client = new ClientWebSocket()) 481using (var client = new ClientWebSocket()) 556using (var client = new ClientWebSocket()) 623using (var client = new ClientWebSocket()) 733using (var client = new ClientWebSocket()) 791using (var client = new ClientWebSocket())
WebSocketSample (1)
Program.cs (1)
27var ws = new ClientWebSocket();
56 references to ClientWebSocket
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
19ClientWebSocket webSocket = new ClientWebSocket();
IIS.FunctionalTests (6)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (6)
68using var cws = new ClientWebSocket(); 81using var cws = new ClientWebSocket(); 93using var cws = new ClientWebSocket(); 110using var cws = new ClientWebSocket(); 188private async Task SendMessage(ClientWebSocket webSocket, string message) 193private async Task ReceiveMessage(ClientWebSocket webSocket, string expectedMessage)
IISExpress.FunctionalTests (6)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (6)
68using var cws = new ClientWebSocket(); 81using var cws = new ClientWebSocket(); 93using var cws = new ClientWebSocket(); 110using var cws = new ClientWebSocket(); 188private async Task SendMessage(ClientWebSocket webSocket, string message) 193private async Task ReceiveMessage(ClientWebSocket webSocket, string expectedMessage)
Interop.FunctionalTests (2)
Http2WebSocketInteropTests.cs (2)
79var wsClient = new ClientWebSocket(); 143var wsClient = new ClientWebSocket();
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
92var webSocket = new ClientWebSocket();
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
399var client = new ClientWebSocket();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (9)
HubConnectionTests.cs (9)
2556var websocket = new ClientWebSocket(); 2586var originalWebsocket = websocket; 2615var websocket = new ClientWebSocket(); 2654var originalWebsocket = websocket; 2685var websocket = new ClientWebSocket(); 2726var originalWebsocket = websocket; 2765var ws = new ClientWebSocket(); 2859var websocket = new ClientWebSocket(); 2897var originalWebsocket = websocket;
Microsoft.AspNetCore.SignalR.Tests (2)
EndToEndTests.cs (2)
95using (var ws = new ClientWebSocket()) 133using (var ws = new ClientWebSocket())
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
214using (var client = new ClientWebSocket())
Microsoft.AspNetCore.WebSockets.Tests (21)
WebSocketCompressionMiddlewareTests.cs (1)
135using (var client = new ClientWebSocket())
WebSocketMiddlewareTests.cs (20)
27using (var client = new ClientWebSocket()) 44using (var client = new ClientWebSocket()) 77using (var client = new ClientWebSocket()) 103using (var client = new ClientWebSocket()) 128using (var client = new ClientWebSocket()) 156using (var client = new ClientWebSocket()) 203using (var client = new ClientWebSocket()) 229using (var client = new ClientWebSocket()) 254using (var client = new ClientWebSocket()) 279using (var client = new ClientWebSocket()) 314using (var client = new ClientWebSocket()) 361using (var client = new ClientWebSocket()) 383using (var client = new ClientWebSocket()) 419using (var client = new ClientWebSocket()) 449using (var client = new ClientWebSocket()) 481using (var client = new ClientWebSocket()) 556using (var client = new ClientWebSocket()) 623using (var client = new ClientWebSocket()) 733using (var client = new ClientWebSocket()) 791using (var client = new ClientWebSocket())
netstandard (1)
netstandard.cs (1)
1308[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebSockets.ClientWebSocket))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
800[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebSockets.ClientWebSocket))]
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
263/// Indicates whether <see cref="ClientWebSocket.HttpStatusCode" /> and <see cref="ClientWebSocket.HttpResponseHeaders" /> should be set when establishing the connection.
WebSocketSample (2)
Program.cs (2)
27var ws = new ClientWebSocket(); 49private static async Task Receiving(ClientWebSocket ws)