// This method changes options of the download denoted by gid (string) dynamically. options is a struct.
// This method changes options of the download denoted by gid (string) dynamically. options is a struct.
// The following options are available for active downloads:
// The following options are available for active downloads:
// bt-max-peers
//
// bt-request-peer-speed-limit
// bt-max-peers
// bt-remove-unselected-file
// bt-request-peer-speed-limit
// force-save
// bt-remove-unselected-file
// max-download-limit
// force-save
// max-upload-limit
// max-download-limit
// max-upload-limit
//
// For waiting or paused downloads, in addition to the above options, options listed in Input File subsection are available, except for following options: dry-run, metalink-base-uri, parameterized-uri, pause, piece-length and rpc-save-upload-metadata option.
// For waiting or paused downloads, in addition to the above options, options listed in Input File subsection are available, except for following options: dry-run, metalink-base-uri, parameterized-uri, pause, piece-length and rpc-save-upload-metadata option.
// This method changes global options dynamically.
// This method changes global options dynamically.
// options is a struct.
// options is a struct.
// The following options are available:
// The following options are available:
// bt-max-open-files
//
// download-result
// bt-max-open-files
// log
// download-result
// log-level
// log
// max-concurrent-downloads
// log-level
// max-download-result
// max-concurrent-downloads
// max-overall-download-limit
// max-download-result
// max-overall-upload-limit
// max-overall-download-limit
// save-cookies
// max-overall-upload-limit
// save-session
// save-cookies
// server-stat-of
// save-session
// server-stat-of
//
// In addition, options listed in the Input File subsection are available, except for following options: checksum, index-out, out, pause and select-file.
// In addition, options listed in the Input File subsection are available, except for following options: checksum, index-out, out, pause and select-file.
// With the log option, you can dynamically start logging or change log file.
// With the log option, you can dynamically start logging or change log file.
// To stop logging, specify an empty string("") as the parameter value.
// To stop logging, specify an empty string("") as the parameter value.