UseDisconnectedEarlyNotify
Namespace: SynicSugar.P2P
Class: p2pConfig
public bool UseDisconnectedEarlyNotify
Description
Notify loss connection on temporarily, instead of losing it on completely. After this notification, SynicSugar try to reconnection automatically, and if the connect still cannot be restored, fires Disconnected notify.
using SynicSugar.P2P;
public class p2pConfigManager {
void Setp2pConfig(){
p2pConfig.Instance.UseDisconnectedEarlyNotify = true;
}
}