1

I want to configure the "maxCommandLength" attribute, but I cannot find the configuration file or instructions on how to create it. How can I change ReceiveBufferSize for websocket in code?

ReMiDo
  • 21
  • 3

1 Answers1

1

Use this to change the ReceiveBufferSize:

WebSocketServer webServer = new WebSocketServer();
ServerConfig config = new ServerConfig { ReceiveBufferSize = YourWishedSize };

webServer.Setup(config);
Boeckle
  • 13
  • 7