casto
casto copied to clipboard
castoで閲覧中の画面での同時接続数を得たい
- http://ca.storyboards.jp/a/**** で接続しているユーザ数を知りたい
下の様なAPIがあるので、解決できそう。
REST API Reference | Pusher
- http://pusher.com/docs/rest_api#method-get-channel
よく読むと
- subscription_count
- [BETA] Number of connections currently subscribed to this channel. This attribute is not available by default; please contact [email protected] if you would like to beta test this feature.
となっていて、単純に接続数取りたい場合はbeta利用になる模様..。