HeartbeatStrategy

心跳策略.

Since

2.6.3

心跳策略.

Since

2.6.3

心跳策略.

Since

2.6.3

Entries

Link copied to clipboard

使用 2.6.0 增加的状态心跳 (Stat Heartbeat). 通常推荐这个模式.

使用 2.6.0 增加的状态心跳 (Stat Heartbeat). 通常推荐这个模式.

使用 2.6.0 增加的状态心跳 (Stat Heartbeat). 通常推荐这个模式.

Link copied to clipboard

不发送状态心跳, 而是发送切换在线状态 (可能会导致频繁的好友或客户端上线提示, 也可能产生短暂 (几秒) 发送消息不可见的问题).

不发送状态心跳, 而是发送切换在线状态 (可能会导致频繁的好友或客户端上线提示, 也可能产生短暂 (几秒) 发送消息不可见的问题).

不发送状态心跳, 而是发送切换在线状态 (可能会导致频繁的好友或客户端上线提示, 也可能产生短暂 (几秒) 发送消息不可见的问题).

Link copied to clipboard

不主动维护会话. 多数账号会每 16 分钟掉线然后重连. 则会有短暂的不可用时间.

不主动维护会话. 多数账号会每 16 分钟掉线然后重连. 则会有短暂的不可用时间.

不主动维护会话. 多数账号会每 16 分钟掉线然后重连. 则会有短暂的不可用时间.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

name
Link copied to clipboard
ordinal
Link copied to clipboard