Add docs about auth approach #94

This commit is contained in:
Kevin Jahns 2022-02-23 16:45:38 +01:00 committed by GitHub
parent 011a06fe8e
commit eb53b555f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ wss.on('connection', setupWSConnection)
server.on('upgrade', (request, socket, head) => { server.on('upgrade', (request, socket, head) => {
// You may check auth of request here.. // You may check auth of request here..
// See https://github.com/websockets/ws#client-authentication
/** /**
* @param {any} ws * @param {any} ws
*/ */