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 #

Copied to clipboard!
newConnection(connection);

Arguments Type Description
connection ClientConnection New user connection

Example #

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

entryPoint.newConnection(conn);