SDK PHP v3.x

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 #

Copied to clipboard!
// not implemented (this SDK uses HTTP and is thus stateless)