[英]Where can I find the configuration file for “SuperWebSocket” (Supersocket)? Or how can I change ReceiveBufferSize for websocket in code?
我想配置“ maxCommandLength”屬性,但是找不到配置文件或有關如何創建它的說明。 如何在代碼中更改websocket的ReceiveBufferSize?
使用它來更改ReceiveBufferSize:
WebSocketServer webServer = new WebSocketServer();
ServerConfig config = new ServerConfig { ReceiveBufferSize = YourWishedSize };
webServer.Setup(config);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.