This repository was archived by the owner on Sep 27, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 30
Access raw websocket data within middleware #79
Comments
Will be nice, if you can share some code on what exactly you have tried so far. All theory can lead to the XY problem |
thanks for your rapid response.
`
let me be honest, i wanna access low level data for reading(fields out of the message object) or adding some fields, such as my auth keys, hidden data, etc. to the packet structure & modify response headers in some cases too. can you help me find the handlers? |
as i found, you have no interest to answer this question anymore. such as this link. |
are you dead?! |
No having dinner |
Enjoy your meal |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there, I'm new with Adonis and it's
websocket library & I need to access sent raw data(packet) & headers from the client in middlewares and channel controllers.
Is there any way to access all of that and modify some headers & add data to packet structure in response?!
Note: channel/topic name is not accessible via middlewares too. Is this a lack?! I need to do some stuff before grant access to channel's controller(without creating named specific middleware for each channel).
I've nothing found in the v4.1 documentation for now. Poorest documentation for such framework I've ever seen, don't hide us things 😁
The text was updated successfully, but these errors were encountered: