{ "name": "settings.set \u2014 raise the segment cap and turn on checksums", "description": "Only the keys present change, and changed[] names exactly what took effect.", "request": { "jsonrpc": "2.0", "id": 51, "method": "settings.set", "params": { "values": { "connection.maxSegmentsPerDownload": 16, "downloads.verifyChecksums": true, "connection.bufferBytes": 2097152 } } }, "response": { "jsonrpc": "2.0", "id": 51, "result": { "values": { "connection.maxSegmentsPerDownload": 16, "downloads.verifyChecksums": true, "connection.bufferBytes": 2097152 }, "changed": [ "connection.maxSegmentsPerDownload", "downloads.verifyChecksums", "connection.bufferBytes" ] } }, "assertions": [ "event.settings.changed is emitted carrying exactly the keys in changed[]", "an unknown key is -32602 and nothing at all is written", "a directory key naming an unwritable path is -32011", "connection.bufferBytes accepts 64 KiB - 16 MiB; a value outside that range is -32602" ] }