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.
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.