wsOptions
This option was added in Profound.js 6
This setting allows you to specify options for Profound.js's built-in WebSocket server. The WebSocket server is used for a variety of features:
Terminal emulator in IDE
Git integration in IDE
Connecting between local and remote IBM i instance (Remote Connector)
Connecting from PJSCALL command/program and proxy programs to Profound.js instance.
The WebSocket server package used is ws. The value of this configuration option is passed directly to the WebSocketServer constructor. The default value is:
{
"perMessageDeflate": true
}
Note: This option is for advanced use only – there is not a reason to change the defaults in most scenarios.
Example
"wsOptions": {
"perMessageDeflate": true, // Use compression
"maxPayload": 209715200 // Max message size 200MB
}
Click here for information on how to modify this setting.