Description
Allow users to configure socket.io transport methods (websocket only, polling only, or both) through the clp-config.yml configuration file.
Background
Currently, socket.io uses the default transport configuration. Making this configurable would allow users to:
- Optimize performance for their specific environment
- Work around network restrictions that might block certain transport methods
- Troubleshoot connectivity issues more effectively
Proposed Configuration
Add a new configuration option in clp-config.yml to specify the allowed transport methods:
webui:
socket_io:
transport: "ws" # Options: "ws", "polling", "both"
Related
Requested by: @junhaoliao
Description
Allow users to configure socket.io transport methods (websocket only, polling only, or both) through the
clp-config.ymlconfiguration file.Background
Currently, socket.io uses the default transport configuration. Making this configurable would allow users to:
Proposed Configuration
Add a new configuration option in
clp-config.ymlto specify the allowed transport methods:Related
Requested by: @junhaoliao