Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Connections.​Features.​IConnectionCompleteFeature

Assembly: Microsoft.AspNetCore.Connections.Abstractions

Represents the completion action for a connection.

Methods

void
OnCompleted​(System.​Func<​object, System.​Threading.​Tasks.​Task> callback, object state)
Registers a callback to be invoked after a connection has fully completed processing. This is intended for resource cleanup.
callback The callback to invoke after the connection has completed processing.
state The state to pass into the callback.