# setHttpServerSettings
Description
Configure the HTTP server settings
void setHttpServerSettings(object jsonSettings)
Parameters
Name | Description |
---|---|
jsonSettings | The settings that should be changed • httpServerPort - Port for the HTTP server. Restarting the HTTP server is required for the changes to take effect • httpServerConnectionsLimit - Maximum number of concurrently processed connections. Restarting the HTTP server is required for the changes to take effect • httpServerMaxPostFileSizeInBytes - Maximum file value in bytes for the POST method. It applies immediately; restarting the HTTP server is not required |
JsonSettings example
var jsonSettings = new {
httpServerPort = 7777,
httpServerConnectionsLimit = 10,
httpServerMaxPostFileSizeInBytes = 1048576
}
Response example
{
"method": "setHttpServerSettings",
"requestId" : "1",
"result": true
}
Response Parameters
Name | Description |
---|---|
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also