How to use the controller when working with sockets in AdonisJS

后端 未结 0 437
情书的邮戳
情书的邮戳 2021-02-05 20:00

How to call the controller when I do emit in socket.io

I want that when calling emit from the client the data is first saved in the db and then sent to it.

My code

相关标签:
回答
  • 消灭零回复
提交回复
热议问题