Skip to main content

HttpFetch

Type Alias HttpFetch 

Source
pub type HttpFetch = Arc<dyn Fn(&str, Option<&str>) -> Result<Fetched, String> + Send + Sync>;
Expand description

Network fetch provided by the caller (https://), Ok(None) on 404.

Aliased Type§

pub struct HttpFetch { /* private fields */ }