Websockets instead of http request


Hello Everyone, could you help me? I want to create an authentication controller with websocket, I don’t want to use http request more, I want to use only websockets, for my login system, and for all my project



Do you use Adonis Websocket or other ?
If you use adonis Websocket, you can use auth middleware

If you do not, you can user adonisjs’s authentication with your other web socket. you can find many tutoriel about authentification in websocket. just adapt it with adonis