SDK
SDK PHP v3.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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)