aspnetcore/test/Microsoft.AspNetCore.Signal...
David Fowler a93e4be82f Added Cancellation support (#897)
* Added Cancellation support
- Added ConnectionAbortedToken to the HubConnectionContext. This allows
arbitrary code to access a handle that represents the connection lifetime
without handling OnDisconnectedAsync on the hub itself.
- Expose Abort on HubConnectionContext to allow server side methods to
abort the connection.
- Use the Abort to stop the main loop when unexpected invocation errors happen.
- Use the connection aborted token as unsubscribe from the IObservable and to complete
the IAsyncEnumerator for streaming results.
2017-09-18 12:47:38 -07:00
..
Internal
CancellationDisposable.cs
DefaultHubActivatorTests.cs
DefaultTransportFactoryTests.cs
EchoEndPoint.cs
EndToEndTests.cs Rename With/GetTransportType to With/GetTransport 2017-09-13 09:46:17 -07:00
HubEndpointTests.cs Added Cancellation support (#897) 2017-09-18 12:47:38 -07:00
HubReflectionHelperTests.cs
MapSignalRTests.cs
Microsoft.AspNetCore.SignalR.Tests.csproj
SignalRDependencyInjectionExtensionsTests.cs Initializing HubOptions.JsonSerializationSettings to default settings 2017-09-07 09:51:20 -07:00
Startup.cs
TestClient.cs
UncreatableHub.cs
WebSocketsTransportTests.cs