Disconnect Method
This method disconnects the class from the server.
Syntax
async xmpp.disconnect(): Promise<void>
Remarks
The Disconnect method will send the disconnect command to the notification server. Upon disconnection, a Disconnected event will be fired.