RefreshParameters Structure Reference
public struct RefreshParameters
Parameters for configuring a resource refresher.
-
Creates parameters to be used with a
ResourceRefresher.Declaration
Parameter Description idA unique String, used to identify the specific Refresher and the specific Resource it’s refreshing.
urlThe URL used to send the GET requests
refreshIntervalthe interval used to refresh the resource after the initial refresh
errorCooldownBaseIntervalif present, it’s the interval that is used, instead of the
refreshInterval, in case of no resource found in the cache. It must be lower thenrefreshIntervalif provided.