WebSocketSession 方法 |
WebSocketSession 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AddTopic |
动态增加一个订阅的信息
| |
Close |
关闭当前的会话状态 (继承自 PipeSession。)Close the current session state | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
IsClientSubscribe |
检查当前的连接对象是否在
| |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
RemoveTopic |
动态移除一个订阅的信息
| |
ToString | Returns a string that represents the current object. (重写 PipeSessionToString.) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |