Skip to main content

register_source

Function register_source 

Source
pub fn register_source(registry: &mut SourceRegistry)
Expand description

Register the http and https schemes on a bare SourceRegistry as bytes sources. Both schemes share the same opener (open_http).

Most callers should use register instead — it threads through a full RuntimeContext.