i2pcontrol: Add status notes

This commit is contained in:
zzz
2022-01-12 08:40:57 -05:00
parent a6d637478c
commit db9e6e55a9

View File

@ -118,7 +118,11 @@ Parameters are only provided in a named way (maps).
<li>Token &ndash; [String] {% trans %}Token used for authenticating the client. Is provided by the server via the 'Authenticate' RPC method.{% endtrans %}</li>
</ul>
<ul>{{ _('Response:') }}
<li>**i2p.router.status &ndash; [String] {% trans %}What the status of the router is.{% endtrans %}</li>
<li>**i2p.router.status &ndash; [String] {% trans %}What the status of the router is.{% endtrans %}
A free-format, translated string intended for display to the user.
May include information such as whether the router is accepting participating tunnels.
Content is implementation-dependent.
</li>
<li>**i2p.router.uptime &ndash; [long] {% trans %}What the uptime of the router is in ms.{% endtrans %}
Note: i2pd routers prior to version 2.41 returned this value as a string.
For compatibility, clients should handle both string and long.