Method SaveCache
SaveCache(ConfigOrigin, Dictionary<String, String>, String)
Tries to create cache files (config and headers) and write into them if they are successfully fetched from remote location
Declaration
public void SaveCache(ConfigOrigin origin, Dictionary<string, string> headers, string result)
Parameters
Type | Name | Description |
---|---|---|
ConfigOrigin | origin | represents config origin. If value is Remote, overwrite the file content |
Dictionary<String, String> | headers | request headers as a key-value dictionary |
String | result | config value |