A new function from the Xray Core API - GetStatsOnlineIpList #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary 📝
A new function from the Xray Core API has been added - GetStatsOnlineIpList, which allows you to get all IP addresses that are currently connected to specific client. It accepts the client's email and returns a dictionary where the keys are the IP addresses of users currently connected to the client, and the values are the last time the list was cleared of IPs that are no longer active (disconnected). More details here
P.S: I apologize in advance for the commit name. I first committed the changes and only then saw the convention you use. I also couldn't figure out the documentation because it's empty and there are no examples, so I just left the docstring for the function. I hope that if you need to make the necessary changes to meet the project criteria, it won't be too difficult :)
Details
Describe more what you did on changes.
Checks