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?
Use this to change the ReceiveBufferSize:
WebSocketServer webServer = new WebSocketServer();
ServerConfig config = new ServerConfig { ReceiveBufferSize = YourWishedSize };
webServer.Setup(config);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.