Call socket.io in middleware #4265
Unanswered
vitortoigo
asked this question in
Help
Replies: 1 comment
-
hello it might be the order of initing the provider check ur adonis src json file for the provider of your websocket, if you could share a min project of your structure. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, has a way to trigger socket.io in middleware directly?
Basically, i'm making a saas application and when a user login, needs to connect to the tenant room.
When i call the socket in middleware, returns undefined, but in controller works normally.
Congrats!
Beta Was this translation helpful? Give feedback.
All reactions