xk6-websockets
                                
                                
                                
                                    xk6-websockets copied to clipboard
                            
                            
                            
                        Add ability to `ping` send Application data
What?
Add the possibility of sending application data with WebSocket.ping.
The WebSocker protocol says:
[5.5.2](https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2).  Ping
   The Ping frame contains an opcode of 0x9.
   A Ping frame MAY include "Application data".
Why?
- https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2
 - https://community.k6.io/t/is-it-possible-to-send-data-with-ping-messages/7009