Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获得客户端连接到套接字的时间?
没有这样的功能。
我建议创建@OnOpen方法,这将节省当前实例的时间(端点默认为 WebSocket 会话范围)并使用该值。
@OnOpen
随意提交针对 Tyrus 的增强。