GetConfig
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.
This message asks the Freenet node for it's configuration information.
Example
GetConfig
WithCurrent=true
WithShortDescription=true
WithLongDescription=true
WithDataTypes=true
EndMessage
| Field |
Possible values |
Mandatory? |
Default |
Description |
| WithCurrent |
false, true |
No |
false |
If set true, the current configuration settings will be returned in the "current" tree of the ConfigData message fieldset |
| WithDefaults |
false, true |
No |
false |
If set true, the default configuration settings will be returned in the "default" tree of the ConfigData message fieldset |
| WithSortOrder |
false, true |
No |
false |
If set true, the configuration setting sort order numbers will be returned in the "sortOrder" tree of the ConfigData message fieldset |
| WithExpertFlag |
false, true |
No |
false |
If set true, the configuration setting expertFlags (only show in expert/advanced mode flags) will be returned in the "expertFlag" tree of the ConfigData message fieldset |
| WithForceWriteFlag |
false, true |
No |
false |
If set true, the configuration setting forcedWriteFlags (always written to disk flags) will be returned in the "forceWriteFlag" tree of the ConfigData message fieldset |
| WithShortDescription |
false, true |
No |
false |
If set true, the configuration setting short descriptions will be returned in the "shortDescription" tree of the ConfigData message fieldset |
| WithLongDescription |
false, true |
No |
false |
If set true, the configuration setting long descriptions will be returned in the "longDescription" tree of the ConfigData message fieldset |
| WithDataTypes |
false, true |
No |
false |
(since 1110) If set true, specify the type of data expected for each field in the "dataType" tree. Possible values are "number" (i18n standard allowed : 'K', 'M', etc can be used), "string", "boolean", "stringArray" |
See
ConfigData for the corresponding answer.