Core
Guides v2.x
2

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);