0

在 Meteor 应用程序中,我如何知道活动 DDP 会话的数量并获取它们的一些信息?

4

1 回答 1

3

Have a look at the Meteor.server.sessions object on the server. The connectionHandle sub-object is probably the most useful property of each. I've only played around with these rather than using them for anything meaningful, but it seems to do what you require.

于 2014-10-16T13:25:12.603 回答