Share via


IConnectionLifetimeNotificationFeature Interface

Definition

Enables graceful termination of the connection.

public interface class IConnectionLifetimeNotificationFeature
public interface IConnectionLifetimeNotificationFeature
type IConnectionLifetimeNotificationFeature = interface
Public Interface IConnectionLifetimeNotificationFeature

Properties

ConnectionClosedRequested

Gets or set an CancellationToken that will be triggered when closing the connection has been requested.

Methods

RequestClose()

Requests the connection to be closed.

Applies to