[V6] how to run socket.io, where to get server instance #4588
Replies: 1 comment
-
It seems that the discussion is closed or you have found the answer, but for those looking for the solution, here is my code. You can use adonisServer as shown in the following code. start/socket.ts
In my case, I am directing the socket to a controller for clearer usage, as shown in the following code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[V6] how to run socket.io, where to get server instance
Beta Was this translation helpful? Give feedback.
All reactions