📄 readme
字号:
This example demonstrates how to clean up per-client objects throughthe use of sessions.When the client starts, a session object is created through which allper-client objects are created. The session object's timestamp must berefreshed by the client on a periodic basis otherwise it will bedestroyed. Once the session is destroyed, whether by the clientdestroying the session upon termination or due to a timeout, allper-client objects are automatically cleaned up by the session object.To run the demo, first start the server:$ serverIn a separate window, start the client:$ client
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -