NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

Is there anyway to get WsOpcode in OnWsReceived?

Open lifeengines opened this issue 2 months ago • 0 comments

currentlly WS_BINARY and WS_TEXT is callback on OnWsReceived ,bug don't pass this type,sometimes,we need known exact opcode type from client. currentlly code: case WS_BINARY: case WS_TEXT: { // Call the WebSocket received handler _wsHandler.OnWsReceived(WsReceiveFinalBuffer.Data, 0, WsReceiveFinalBuffer.Size); break; }

lifeengines avatar Apr 27 '24 12:04 lifeengines