oatpp-websocket icon indicating copy to clipboard operation
oatpp-websocket copied to clipboard

Add functionality to handle frame with custom opcodes

Open xanderdunn opened this issue 3 years ago • 0 comments

My WebSocket client is frequently receiving frames with unknown frame opcodes: [oatpp::web::protocol::websocket::AsyncWebSocket::handleFrameAsync(){HandleFrameCoroutine}]: Unknown frame. I would like to be able to inspect these frame opcodes to know what the opcodes are and potentially respond to them.

The suggested solution of creating a custom implementation of listenAsync is not currently possible because it accesses private members such as readFrameHeaderAsync.

xanderdunn avatar Apr 30 '21 01:04 xanderdunn