ocilo / skype-http

Unofficial Skype API for Node.js via HTTP
https://ocilo.github.io/skype-http
MIT License
51 stars 24 forks source link

support disconnect #11

Open demurgos opened 8 years ago

demurgos commented 8 years ago

We should provide a way to perform a clean disconnection.

mitchcapper commented 7 years ago

Doesn't stopListening(); stop the pull loop with is the only persistent item? Or are you talking about invalidating the creds so other api calls would also fail?

demurgos commented 6 years ago

The .disconnect method should unsubscribe from any registered endpoint and invalidate credentials. (It should not be possible to juste restore the state).