HttpContext.RequestAborted Property (Microsoft.AspNetCore.Http)

Notifies when the connection underlying this request is aborted and thus request operations should be cancelled.