In ASP .NET Core, I can inject a CancellationToken
into my actions which will signal cancellation when the HTTP request is cancelled by the browser.
I'm thinking this is detected from the server side by detecting if the underlying TCP connection is closed, but I haven't been able to find anything regarding this anywhere.
Does the browser somehow send a message to the server that indicates cancellation?