stream icon indicating copy to clipboard operation
stream copied to clipboard

How to set up a keepalive for client connections?

Open ryangriggs opened this issue 3 years ago • 0 comments

I'm dealing with a PLC that disconnects after 15 seconds of no communication. Is there a built-in way to create a keepalive message that is transmitted every X seconds to the client? or do I need to do this manually with a setInterval and a basic "no-op" request?

ryangriggs avatar Mar 14 '23 15:03 ryangriggs