2 ms·
There is no maximum size for a websocket message, so unless you want to force a size ahead of time, you might need to allocate to resize your buffer. Or you co
by mgaunard 3y ago
There is no maximum size for a websocket message, so unless you want to force a size ahead of time, you might need to allocate to resize your buffer.
Or you could give the message in fragments to the user, but that immediately becomes a very inconvenient API.