Documented I2PControl support for changing listen address of the I2PControl instance.

This commit is contained in:
dev
2011-08-01 07:31:12 +00:00
parent be87a0afec
commit 4208487867

View File

@@ -65,13 +65,17 @@ Response:
</ul>
<ul>I2PControl &ndash; Manages I2PControl. Ports, passwords and the like.
<ul>Request
<li>*i2pcontrol.address &ndash; [String] Sets a new listen address for I2PControl.</li>
<li>*i2pcontrol.password &ndash; [String] Sets a new password for I2PControl, all Authentication tokens will be revoked.</li>
<li>*i2pcontrol.port &ndash; [String] Switches which port I2PControl will listen for connections on.</li>
<li>Token &ndash; [String] Token used for authenticating the client. Is provided by the server via the 'Authenticate' RPC method.</li>
</ul>
<ul>Response
<li>**i2pcontrol.address &ndash; [null] Returned if address was changed</li>
<li>**i2pcontrol.password &ndash; [null] Returned if setting was changed</li>
<li>**i2pcontrol.port &ndash; [null] Returned if setting was changed</li>
<li>SettingsSaved &ndash; [Boolean] Returns true if any changes were made.</li>
<li>RestartNeeded &ndash; [Boolean] Returns true if any changes requiring a restart to take effect were made.</li>
</ul>
</ul>
<ul>RouterInfo &ndash; Fetches basic information about hte I2P router. Uptime, version etc.