1 write to Client
Microsoft.AspNetCore.Http.Connections.Tests (1)
TestWebSocketConnectionFeature.cs (1)
46
Client
= clientSocket;
24 references to Client
Microsoft.AspNetCore.Http.Connections.Tests (24)
HttpConnectionDispatcherTests.cs (7)
492
await ws.
Client
.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "", default);
1465
await ws.
Client
.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
2405
var webSocketMessage = await websocketFeature.
Client
.GetNextMessageAsync().DefaultTimeout();
2436
webSocketMessage = await websocketFeature.
Client
.GetNextMessageAsync().DefaultTimeout();
2479
var webSocketMessage = await websocketFeature.
Client
.GetNextMessageAsync().DefaultTimeout();
2511
webSocketMessage = await websocketFeature.
Client
.GetNextMessageAsync().DefaultTimeout();
2863
await websocket.
Client
.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "", cancellationToken: default).DefaultTimeout();
WebSocketsTests.cs (17)
44
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
47
await feature.
Client
.SendAsync(
52
await feature.
Client
.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
92
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
100
await feature.
Client
.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
152
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
159
feature.
Client
.SendAbort();
185
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
193
await feature.
Client
.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
256
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
291
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
298
await feature.
Client
.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, null, CancellationToken.None).DefaultTimeout();
330
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
332
await feature.
Client
.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, null, CancellationToken.None).DefaultTimeout();
384
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();
386
await feature.
Client
.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, null, CancellationToken.None).DefaultTimeout();
410
var client = feature.
Client
.ExecuteAndCaptureFramesAsync();