Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Flow the TimedOutToken and ClientDisconnectedToken [858]

$
0
0
With [this commit](http://aspnetwebstack.codeplex.com/SourceControl/changeset/c18dbd8306a2), it's now possible to flow the following two CancellationToken objects through the ASP.NET Web API pipeline under ASP.NET host:

```
public override Task ProcessRequestAsync(HttpContext context) {

CancellationTokenSource cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(
context.Request.TimedOutToken,
context.Response.ClientDisconnectedToken);

//...

}
```

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>