You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be very interested into an overload broadcast(ByteBuffer) for WebSocketServer like the one for byte arrays and strings. One could use ByteBuffer.array() but it is, in fact, sematically different, because variables like position and limit are not taken in account when sending. Are there any technical difficulties preventing such an overload and would there be any opportunities of optimization compared to iterating clients and sending the buffer to each?
The text was updated successfully, but these errors were encountered:
I would be very interested into an overload
broadcast(ByteBuffer)
forWebSocketServer
like the one for byte arrays and strings. One could useByteBuffer.array()
but it is, in fact, sematically different, because variables like position and limit are not taken in account when sending. Are there any technical difficulties preventing such an overload and would there be any opportunities of optimization compared to iterating clients and sending the buffer to each?The text was updated successfully, but these errors were encountered: