跳到主要内容

set_fast_relogin_enabled

启用快速重连机制

声明

void set_fast_relogin_enabled(int seconds)

参数

参数名描述
seconds网络消息缓存时长
seconds > 0: 缓存的时间长度,开启重连机制
seconds <= 0: 关闭快速重连机制

返回值

使用方式

返回文档