Share via


HttpRequestLifetimeFeature Class

Definition

Default implementation for IHttpRequestLifetimeFeature.

public ref class HttpRequestLifetimeFeature : Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature
public class HttpRequestLifetimeFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature
type HttpRequestLifetimeFeature = class
    interface IHttpRequestLifetimeFeature
Public Class HttpRequestLifetimeFeature
Implements IHttpRequestLifetimeFeature
Inheritance
HttpRequestLifetimeFeature
Implements

Constructors

HttpRequestLifetimeFeature()

Properties

RequestAborted

A 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

Abort()

Forcefully aborts the request if it has not already completed. This will result in RequestAborted being triggered.

Applies to