You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
cannot we say it is problem, but it is useful for better user management
Describe the solution you'd like
The Traffic Stats API has two endpoints
/traffic to get the rx and tx
/kick to disconnect an online user
in terms of user management, the third one is missing
/online to show/list connected users
Describe alternatives you've considered
As an alternative, a polling script can check every N minutes if a user tx-rx is 0 or not.
if they are 0, the user is not online
if they are non-zero, save them on database and /traffic?clear=all them
at last check tr-tx again, the ones their values are non-zero are online
this is how xray (project X) panel (e.g x-ui 3x-ui, etc) are handling the online list
Additional context
A server like SoftEther has API to check online users ,
A server like ocserv has a CLI (occtl) to list online users
And xray with a workaround we can check
but the standard and the straightforward way is a built-in API
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
cannot we say it is problem, but it is useful for better user management
Describe the solution you'd like
The Traffic Stats API has two endpoints
/traffic
to get the rx and tx/kick
to disconnect an online userin terms of user management, the third one is missing
/online
to show/list connected usersDescribe alternatives you've considered
As an alternative, a polling script can check every N minutes if a user tx-rx is 0 or not.
if they are 0, the user is not online
if they are non-zero, save them on database and
/traffic?clear=all
themat last check tr-tx again, the ones their values are non-zero are online
this is how xray (project X) panel (e.g x-ui 3x-ui, etc) are handling the online list
Additional context
A server like SoftEther has API to check online users ,
A server like ocserv has a CLI (occtl) to list online users
And xray with a workaround we can check
but the standard and the straightforward way is a built-in API
The text was updated successfully, but these errors were encountered: