WebSocketServerKeepAliveSendInterval 属性 |
获取或是设置用于保持连接的心跳时间的发送间隔。默认30秒钟,需要在服务启动之前设置
Gets or sets the sending interval of the heartbeat time used to keep the connection. 30 seconds by default, need to be set before the service starts
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public TimeSpan KeepAliveSendInterval { get; set; }
Public Property KeepAliveSendInterval As TimeSpan
Get
Set
public:
property TimeSpan KeepAliveSendInterval {
TimeSpan get ();
void set (TimeSpan value);
}
member KeepAliveSendInterval : TimeSpan with get, set
属性值
类型:
TimeSpan参见