Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​Features.​IHttpRequestLifetimeFeature

Assembly: Microsoft.AspNetCore.Http.Features

Provides access to the HTTP request lifetime operations.

Properties

A <see cref="T:System.Threading.CancellationToken" /> that fires if the request is aborted and the application should cease processing. The token will not fire if the request completes successfully.

Methods

void
Abort​()
Forcefully aborts the request if it has not already completed. This will result in RequestAborted being triggered.