Skip to content

KeepaliveStyle ​

Defines the keepalive style for a connection.

Kind: Enum

Namespace: ConnectorLib.SimplePipeline

Inheritance: IComparable → IConvertible → IFormattable → ISpanFormattable

Public Attributes

KeepaliveStyle

None

No keepalive is used.

KeepaliveStyle

Client

Keepalive is sent by the client side.

KeepaliveStyle

Server

Keepalive is sent by the server side.

KeepaliveStyle

ClientAndServer

Keepalive is sent by both the client and server sides.

KeepaliveStyle

PingPong

Keepalive is sent by the client and server sides, using a ping-pong strategy.

Enums

KeepaliveStyle

[None = 0, Client = 1, Server = 2, ClientAndServer = 3, PingPong = 4]

Defines the keepalive style for a connection.