How to know when a new client is connected? #36
Unanswered
mister-teddy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, thank you for the amazing project!
I wonder how the Chii dashboard knows exactly when a new target is connected. I saw many
/timestamp
endpoint that gets fetched intervally, but it only contains a number and nothing else. I saw no socket signal being received, yet the dashboard make a new HTTP request to/targets
immediately when a new target is ready for debugging 🤔Please let me know what are the magic behind it! At the moment, I have to fetch the
/targets
with 1-second intervals 🥶I already know how to load the single dev tool using this endpoint, but I'm curious to know what is the purpose of that
randomId
:http://localhost:54257/front_end/chii_app.html?ws=localhost:54257/client/${randomId}?target=${targetId}
Thank you very much for your help 🙏
Beta Was this translation helpful? Give feedback.
All reactions