connection:remove

Arguments Type Description
connection
object
Connection information

Triggered whenever a connection is removed from Kuzzle.

Pipes cannot listen to that event, only hooks can.


connection

The provided connection object has the following properties:

Properties Type Description
id
string
Connection unique ID
protocol
string
Protocol name (eg: websocket, http, etc.)
headers
object
Protocol specific headers
ips
array
Array of ips addresses