简体   繁体   中英

Where can I find the configuration file for “SuperWebSocket” (Supersocket)? Or how can I change ReceiveBufferSize for websocket in code?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM