/Engine/Source/Runtime/Online/WebSockets/Public/IWebSocket.h
Optionally change memory limit for receiving UTF-8 text on this socket. Default from config TextMessageMemoryLimit under [WebSockets] or 1MB.
void SetTextMessageMemoryLimit ( uint64 TextMessageMemoryLimit )