Skip to content
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

Open
urionz opened this issue Sep 24, 2024 · 2 comments
Open

Add WebSocket Frame Message Hook Functions #2141

urionz opened this issue Sep 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@urionz
Copy link

urionz commented Sep 24, 2024

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.

@urionz urionz added the enhancement New feature or request label Sep 24, 2024
@NghiaTranUIT
Copy link
Member

thanks for your proposal. I will keep this ticket open and soon implement it if there are more upvote from other users 👍

@ThinkerT
Copy link

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants