4049_1572836826 Posted March 12 Report Share Posted March 12 (edited) Hello, Is it possible to somehow find out if the bot/user is really online/connected/working ? using some kind of heartbeat function? Edited March 12 by 4049_1572836826 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 14 Report Share Posted March 14 If steam-user connects with a WebSocket, it sends pings automatically every 30 seconds and disconnects (and emits the disconnected event) if Steam doesn't reply. If you want to make sure that the pings get sent, you can force the connection protocol using the protocol option. Example: let user = new SteamUser({ protocol: SteamUser.EConnectionProtocol.WebSocket }); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.