Core
Write Protocols v1.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.

newConnection #

Declares a new client connection to Kuzzle.


Arguments #

newConnection(connection);

ArgumentsTypeDescription
connectionClientConnectionNew user connection

Example #

const conn = new context.ClientConnection('<protocol name>', ['127.0.0.1']);

entryPoint.newConnection(conn);