Disconnect

This feature isn't necessary for all implementations; only certain apps will require it.

Not much is needed to close the connection properly, but it's really important to do it. Keeping your WebSocket connected means the instance stays active, leading to costs with Arcware Cloud.

circle-exclamation

So, how do you close the WebSocket Connection? If you have your ArcwarePixelStreaming ready, it's straightforward:

PixelStreaming.disconnect();

It's as simple as that.

Last updated