IHttpResponseBodyFeature.StartAsync(CancellationToken) Method

Definition

Starts the response by calling OnStarting() and making headers unmodifiable.

C#
public System.Threading.Tasks.Task StartAsync (System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

Returns

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0