Skip to content

broadcasting a ByteBuffer #711

Description

@PhilipRoman

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions