IConnectionInherentKeepAliveFeature Interface

Definition

Indicates if the connection transport has an "inherent keep-alive", which means that the transport will automatically inform the client that it is still present.

C#
public interface IConnectionInherentKeepAliveFeature
Derived

Remarks

The most common example of this feature is the Long Polling HTTP transport, which must (due to HTTP limitations) terminate each poll within a particular interval and return a signal indicating "the server is still here, but there is no data yet". This feature allows applications to add keep-alive functionality, but limit it only to transports that don't have some kind of inherent keep-alive.

Properties

HasInherentKeepAlive

Gets whether or not the connection has an inherent keep-alive concept.

Applies to

Tuote Versiot
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0