Skip to main content

get_json

Function get_json 

Source
async fn get_json<T: DeserializeOwned>(
    dir: &Directory<'_>,
    url: &str,
) -> Fetched<T>
Expand description

One GET with the §2.3 retry rule: an unavailable directory gets one immediate retry; a 404 is an answer, not a failure.