WebSocketPolicy.getMaxTextMessageSize

Get the maximum size of a text message during parsing. <p> This is a memory conservation option, memory over this limit will not be allocated by Hunt for handling text messages. This applies to individual frames, whole message handling, and partial message handling. </p> <p> Text messages over this maximum will result in a close code 1009 {@link StatusCode#MESSAGE_TOO_LARGE} </p>

@return the maximum size of a text message.

class WebSocketPolicy
int
getMaxTextMessageSize
()

Meta