sessions.settings.set
Updates the settings for a running session.
Refer to the libtorrent documentation for detailed information for each setting.
Some settings like user agent, peer ID, etc cannot be updated.
Request
{
"id": 7,
"settings": {
"active_limit": 99
}
}
Response
null
Errors
| Code | Reason |
|---|---|
| -1 | Session not found |
| -2 | Session not loaded |
| -32602 | Invalid setting value. data.field names the setting (e.g.settings.file_pool_size) and nothing is applied. |