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 #
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 |
Edit this page on Github (opens new window)