WebSocketServerIsTopicRetain 属性 |
获取或设置当前的服务器是否对订阅主题信息缓存,方便订阅客户端立即收到结果,默认开启
Gets or sets whether the current server caches the topic information of the subscription, so that the subscription client can receive the results immediately. It is enabled by default.
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool IsTopicRetain { get; set; }
Public Property IsTopicRetain As Boolean
Get
Set
public:
property bool IsTopicRetain {
bool get ();
void set (bool value);
}
member IsTopicRetain : bool with get, set
属性值
类型:
Boolean参见