1 override of OnCompleted
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpResponse.cs (1)
134public override void OnCompleted(Func<object, Task> callback, object state)
17 references to OnCompleted
InMemory.FunctionalTests (7)
ResponseTests.cs (7)
377context.Response.OnCompleted(_ => throw new Exception(), null); 2581response.OnCompleted(state1 => 2583response.OnCompleted(state2 => 2631response.OnCompleted(_ => 2636response.OnCompleted(_ => 3374context.Response.OnCompleted(_ => 3380context.Response.OnCompleted(_ =>
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Latency\CaptureResponseTimeMiddleware.cs (1)
47context.Response.OnCompleted(l =>
Latency\RequestLatencyTelemetryMiddleware.cs (1)
74context.Response.OnCompleted(async l =>
Microsoft.AspNetCore.Http (1)
Features\RequestBodyPipeFeature.cs (1)
41_context.Response.OnCompleted((self) =>
Microsoft.AspNetCore.Http.Abstractions (3)
HttpResponse.cs (3)
116public virtual void RegisterForDispose(IDisposable disposable) => OnCompleted(_disposeDelegate, disposable); 122public virtual void RegisterForDisposeAsync(IAsyncDisposable disposable) => OnCompleted(_disposeDelegate, disposable); 128public virtual void OnCompleted(Func<Task> callback) => OnCompleted(_callbackDelegate, callback);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
ResponseTests.cs (3)
141httpContext.Response.OnCompleted(state => 170httpContext.Response.OnCompleted(state => 199httpContext.Response.OnCompleted(state =>
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
184context.Response.OnCompleted(ClearUserDelegate, context);