Reference
get_online_users_count
Return the number of active sessions connected to the same application.
get_online_users_count
Return the number of currently connected sessions for the initialized application.
- Type:
12 - Requires initialization: yes
- Requires authorization: no
Request and response example
get_online_users_count
Return the number of currently connected sessions for this app.
Response fields
| Field | Type | Meaning |
|---|---|---|
online_users_count | uint32 | Number of active WebSocket sessions for this app. |
status | int | Result status. |
Common statuses
| Status | Meaning |
|---|---|
1 | ok |
6 | internal_server_error |