SubscribeUSK
This is a message of the
Freenet Client Protocol 2.0 (FCP 2.0).
It is sent from a client program to the Freenet node.
As soon as the node receive that message it will issue a
SubscribedUSK message.
It asks the node to notify the client when a given USK is updated by sending a
SubscribedUSKUpdate message. This request persists until the client disconnects so you will receive all subsequent updates (or even the updates that incremented the version number from the one that is in your USK key until the one that is current).
The client may choose to make the subscription passive or active.
Example
SubscribeUSK
URI=USK@7H66rhYmxIFgMyw5Dl11JazXGHPhp7dSN7WMa1pbtEo,jQHUQUPTkeRcjmjgrc7t5cDRdDkK3uKkrSzuw5CO9uk,AQACAAE/ENTRY.POINT/35/
Identifier=TEP-subscribe
DontPoll=true
End
| Field |
Possible values |
Mandatory? |
Default |
Description |
| URI |
A freenet USK URI |
Yes |
|
The URI of the freenet document you want to be notified about |
| Identifier |
Arbitrary text |
Yes |
|
The unique identifier of the subscription. |
| DontPoll |
true, false |
No |
false |
Whether to actively request the key or just to notify updates resulting from other requests |