Core
Guides v2.x
2

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