Skip to main content

cloud_settings

Function cloud_settings 

Source
pub async fn cloud_settings(http: &Client) -> Option<CloudSettings>
Expand description

The cloud’s published settings, or None when it publishes none (an older relay, a network failure with no earlier copy). Cached for five minutes; a failed fetch keeps the last good copy and also waits five minutes before trying again, so an unreachable relay doesn’t turn every caller into a request.