Authentication
When connecting, the server will verify the following parameters:
- Missing
apikey→ Connection refused (code: 4002) - Authentication failed → Connection refused (code: 4001)
Example response after successful authentication
{
"event": "auth-connect-complete",
"data": {
"ok": true,
"clientId": "uuid",
"timestamp": 1739765563421
}
}