deltachat::net::http

Function http_cache_get

source
async fn http_cache_get(
    context: &Context,
    url: &str,
) -> Result<Option<(Response, bool)>>
Expand description

Retrieves the binary from HTTP cache.

Also returns if the response is stale and should be revalidated in the background.