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.

ClientConnection #

The ClientConnection class must be instantiated whenever a new client connection is created, and that instance must be provided to the entryPoint.newConnection method.


Arguments #

Copied to clipboard!
new context.ClientConnection(protocol, ips, headers);

Arguments Type Description
protocol
string
The protocol unique identifier
ips
string[]
List of forwarded ip addresses (or any client connection information) of the connection
headers
object
Extra connection information