12 instantiations of TestWebSocketConnectionFeature
Microsoft.AspNetCore.Http.Connections.Tests (12)
HttpConnectionDispatcherTests.cs (2)
263
context.Features.Set<IHttpWebSocketFeature>(new
TestWebSocketConnectionFeature
());
3755
context.Features.Set<IHttpWebSocketFeature>(new
TestWebSocketConnectionFeature
(sync));
WebSocketsTests.cs (10)
36
using (var feature = new
TestWebSocketConnectionFeature
())
83
using (var feature = new
TestWebSocketConnectionFeature
())
125
using (var feature = new
TestWebSocketConnectionFeature
())
177
using (var feature = new
TestWebSocketConnectionFeature
())
208
using (var feature = new
TestWebSocketConnectionFeature
())
242
using (var feature = new
TestWebSocketConnectionFeature
())
276
using (var feature = new
TestWebSocketConnectionFeature
())
315
using (var feature = new
TestWebSocketConnectionFeature
())
357
using (var feature = new
TestWebSocketConnectionFeature
())
401
using (var feature = new
TestWebSocketConnectionFeature
())
21 references to TestWebSocketConnectionFeature
Microsoft.AspNetCore.Http.Connections.Tests (21)
HttpConnectionDispatcherTests.cs (11)
491
var
ws = (
TestWebSocketConnectionFeature
)context.Features.Get<IHttpWebSocketFeature>();
1462
var
ws = (
TestWebSocketConnectionFeature
)context1.Features.Get<IHttpWebSocketFeature>();
2402
var
websocketFeature = (
TestWebSocketConnectionFeature
)context.Features.Get<IHttpWebSocketFeature>();
2434
websocketFeature = (
TestWebSocketConnectionFeature
)context.Features.Get<IHttpWebSocketFeature>();
2476
var
websocketFeature = (
TestWebSocketConnectionFeature
)context.Features.Get<IHttpWebSocketFeature>();
2861
var
websocket = (
TestWebSocketConnectionFeature
)context.Features.Get<IHttpWebSocketFeature>();
WebSocketsTests.cs (10)
36
using (
var
feature = new TestWebSocketConnectionFeature())
83
using (
var
feature = new TestWebSocketConnectionFeature())
125
using (
var
feature = new TestWebSocketConnectionFeature())
177
using (
var
feature = new TestWebSocketConnectionFeature())
208
using (
var
feature = new TestWebSocketConnectionFeature())
242
using (
var
feature = new TestWebSocketConnectionFeature())
276
using (
var
feature = new TestWebSocketConnectionFeature())
315
using (
var
feature = new TestWebSocketConnectionFeature())
357
using (
var
feature = new TestWebSocketConnectionFeature())
401
using (
var
feature = new TestWebSocketConnectionFeature())