jeudi 6 septembre 2018

Authenticate laravel user using websocket

I'm using laravel 5.6 for my project.
I have provided a console class to run a web socket server. (For web socket I have used workerman/phpsocket.io package).
I need to get user that has been authenticated via laravel and connects to websocket.
How can I get user?
Can I use session cookie?
Any help is appreciated.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire