5 implementations of IStatefulReconnectFeature
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
35IStatefulReconnectFeature
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
29internal sealed partial class WebSocketsTransport : ITransport, IStatefulReconnectFeature
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.cs (1)
1032private sealed class TestReconnectFeature : IStatefulReconnectFeature
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (2)
5227private class EmptyReconnectFeature : IStatefulReconnectFeature 5333private class TestReconnectFeature : IStatefulReconnectFeature
29 references to IStatefulReconnectFeature
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
104Features.Set<IStatefulReconnectFeature>(this);
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
543if (useStatefulReconnect && _transport is IStatefulReconnectFeature reconnectFeature)
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiationResponse.cs (1)
52/// It should also set <see cref="IStatefulReconnectFeature"/> on the <see cref="BaseConnectionContext.Features"/> collection so other layers of the
Microsoft.AspNetCore.Http.Connections.Tests (9)
HttpConnectionDispatcherTests.cs (9)
2307Assert.Null(connection.Features.Get<IStatefulReconnectFeature>()); 2336Assert.Null(connection.Features.Get<IStatefulReconnectFeature>()); 2365Assert.NotNull(connection.Features.Get<IStatefulReconnectFeature>()); 2395var reconnectFeature = connection.Features.Get<IStatefulReconnectFeature>(); 2469var reconnectFeature = connection.Features.Get<IStatefulReconnectFeature>(); 4000var reconnectFeature = connection.Features.Get<IStatefulReconnectFeature>();
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (8)
493var statefulReconnectFeature = connection.Features.Get<IStatefulReconnectFeature>(); 615if (connectionState.Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 1339if (connectionState.Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 2159if (Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubConnectionTests.cs (2)
889innerConnection.Features.Set<IStatefulReconnectFeature>(reconnectFeature); 921innerConnection.Features.Set<IStatefulReconnectFeature>(reconnectFeature);
Microsoft.AspNetCore.SignalR.Core (4)
HubConnectionContext.cs (4)
463if (_useStatefulReconnect && _connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 588if (_connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
Microsoft.AspNetCore.SignalR.Tests (3)
HubConnectionHandlerTests.cs (3)
5205client.Connection.Features.Set<IStatefulReconnectFeature>(new EmptyReconnectFeature()); 5250client.Connection.Features.Set<IStatefulReconnectFeature>(reconnectFeature); 5314client.Connection.Features.Set<IStatefulReconnectFeature>(reconnectFeature);