hatchways / team-hulk

0 stars 0 forks source link

socket connection done #30

Closed hassanfarahani closed 3 years ago

hassanfarahani commented 3 years ago

socket connection done but at the moment, as there is no authentication implemented, I define a variable (isAuthenticated) to indicate user is logged in or logged out & use that to let the user to connect to the socket. I could not do any validation on back end before socket connected (io.use()) as I did not have access to cookie (token) in request header because there is no authentication implemented yet.