Sends disconnect signal to remote server and stops internal tasks.
Note: Do not call any functions on this client instance after disconnecting. This does not close the underlying stream. Recommended usage pattern:
client.disconnect(); client.connectionInfo.close(); destroy(client);
See Implementation
Sends disconnect signal to remote server and stops internal tasks.
Note: Do not call any functions on this client instance after disconnecting. This does not close the underlying stream. Recommended usage pattern: