webSocketSendBufferSizeLimit property

int webSocketSendBufferSizeLimit
final

How many bytes a WebSocket session may keep waiting to be sent, for a client that reads slowly or not at all; 512 KB by default, -1 for no limit. Past it the connection is dropped and the session's close status is 4500 (CloseStatus.sessionNotReliable), as Spring's ConcurrentWebSocketSessionDecorator does with its sendBufferSizeLimit. This starter's own key (server.websocket.send-buffer-size-limit); Spring sets it in code.

Implementation

final int webSocketSendBufferSizeLimit;