open static fun pingFrame(data: Buffer): WebSocketFrame
Create a ping WebSocket frame. Will be a final frame. There is no option for non final ping frames.
data - the bytes for the frame, may be at most 125 bytes
data
Return the frame