data parameter to server.upgrade() when upgrading the connection.
server.ts
It’s common to read cookies/headers from the incoming request to identify the connecting client.
server.ts
data parameter to server.upgrade() when upgrading the connection.