IConnectionTimeoutFeature Interface

Definition

Feature for efficiently handling connection timeouts.

public interface class IConnectionTimeoutFeature
public interface IConnectionTimeoutFeature
type IConnectionTimeoutFeature = interface
Public Interface IConnectionTimeoutFeature

Methods

CancelTimeout()

Prevent the connection from closing after a timeout specified by SetTimeout(TimeSpan) or ResetTimeout(TimeSpan).

ResetTimeout(TimeSpan)

Close the connection after the specified positive finite TimeSpan unless the timeout is canceled or reset. This will cancel any ongoing timeouts.

SetTimeout(TimeSpan)

Close the connection after the specified positive finite TimeSpan unless the timeout is canceled or reset. This will fail if there is an ongoing timeout.

Applies to