-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WebSocket Frame Message Hook Functions #2141
Labels
enhancement
New feature or request
Comments
thanks for your proposal. I will keep this ticket open and soon implement it if there are more upvote from other users 👍 |
This feature is very much needed, hope to add it as soon as possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We would like to request the addition of WebSocket frame message hook functions to enhance the customization capabilities in our scripts. Specifically, we propose adding the following methods:
onWSMsgInbound: This method would allow users to intercept and process incoming WebSocket frame messages before they are processed further. It provides an opportunity to manipulate or analyze the inbound messages according to specific requirements.
onWSMsgOutbound: This method would enable users to intercept and modify outgoing WebSocket frame messages before they are sent out. It offers a way to customize and tailor the outbound messages based on the desired logic.
The inclusion of these hook functions would significantly enhance the flexibility and control over WebSocket message handling within custom scripts. Users would be able to implement specific logic for processing both inbound and outbound messages, leading to more tailored and efficient WebSocket communication.
The text was updated successfully, but these errors were encountered: