Core
Guides v2.x
2

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