disconnect #
Closes the current connection, and frees all allocated resources. Contrary to the offline
state (when the network connection is unexpectedly lost), disconnect()
invalidates the instance, which cannot be used until connect() is explicitly called. This action does not trigger a disconnected
event since this event is triggered when an unexpected disconnection occur.
Usage #
<?php
// not implemented (this SDK uses HTTP and is thus stateless)
Edit this page on Github(opens new window)