UNPKG

sg-socket-constants

Version:
18 lines (13 loc) 350 B
/** * Events for auth * @see https://github.com/facundoolano/socketio-auth */ 'use strict' // Client -> Server /** Require authentication */ exports.AUTHENTICATION = 'authentication' // Server -> Client /** Authentication approved */ exports.AUTHENTICATED = 'authenticated' /** Authentication rejected */ exports.UNAUTHORIZED = 'unauthorized'