Dela via


IHttpRequestLifetimeFeature Interface

Definition

Provides access to the HTTP request lifetime operations.

public interface class IHttpRequestLifetimeFeature
public interface IHttpRequestLifetimeFeature
type IHttpRequestLifetimeFeature = interface
Public Interface IHttpRequestLifetimeFeature
Derived

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