OnStarting Method
Definition
- Namespace
- Codebelt.Extensions.Xunit.Hosting.AspNetCore.Http.Features
- Assemblies
- Codebelt.Extensions.Xunit.Hosting.AspNetCore.dll
OnStarting(Func<object, Task>, object)
Registers a callback to be invoked just before the response starts. This is the last chance to modify the Headers, StatusCode, or ReasonPhrase.
public override void OnStarting(Func<object, Task> callback, object state)