-
I'd like to subscribe users to channels after they initially do a app.service('myservice').hooks({
find: (context) {
app.channel(`/rooms/${context.params.id}`).join(connection)
}
} I haven't seen any documentation on how to retrieve the |
Beta Was this translation helpful? Give feedback.
Answered by
J3m5
Feb 15, 2021
Replies: 1 comment 1 reply
-
The connection can be found in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RickEyre
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The connection can be found in
context.params.connection
.See the docs there