RequestHead.Aborted property
Cancelled when the request's dispatch should stop: the client has gone away before it had the whole response, or the dispatch has used up its running time.
public CancellationToken Aborted { get; }
Remarks
Pass it to the asynchronous calls the handler makes, so that work nobody is waiting for stops.
Running time measures occupied worker intervals for the request's code and host operations on its behalf, as Running time describes. Time spent waiting for something the handler awaits, such as a database or another service, does not count. Once the token is cancelled, for either reason, the request has 5 seconds in which to finish; after that Isoplane stops the instance. A local session uses default resource limits. To see how the application behaves with less, set occupancyMsPerDispatch as Try the application under tighter limits describes.
See Also
- class RequestHead
- namespace Isoplane